how to fix invalid setting for fixed-step size in matlab?

12 views (last 30 days)
NAGESWARARAO KUDITHI
NAGESWARARAO KUDITHI on 31 Jan 2018
Answered: Walter Roberson on 8 Dec 2021
Invalid setting for fixed-step size (2.5E-7) in model 'TAB_1_LOAD'. All sample times in your model must be an integer multiple of the fixed-step size.
Component: Simulink | Category: Model error
The sample time period (5.0E-8) of 'TAB_1_LOAD/powergui/EquivalentModel1/State-Space' is not an integer multiple of the fixed step size (2.5E-7) specified for model.
this is my problem how could i fix it?

Answers (1)

Walter Roberson
Walter Roberson on 8 Dec 2021
You configured the Simulink solver as being a fixed-step algorithm instead as being variable-step. When you do that, then you cannot use any blocks that need a faster step than the step time of your algorithm.
In this particular example TAB_1_LOAD/powergui/EquivalentModel1/State-Space is configured to require a step time of 5E-8 which is 1/5th of the step time of the model itself, 2.5E-7 .
You would need to either increase the step time of the State-Space or else decrease the step time of the model itself

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!