my simple scheduler not working in stateflow

3 views (last 30 days)
I have designed simple scheduler by took reference from example given by matlab " Schedule Simulink Algorithms by Using Stateflow" but in my matlab its not working
PLease find attachement.

Answers (1)

Muthukumar Ganesan
Muthukumar Ganesan on 12 Aug 2022
Hi,
Please change the solver type to Fixed Step and explicitly define the step size.
When the variable step solver is selected, Matlab calculates the step size based on the solver method selected. It is always recommended to use fixed step when you use "tick" in the model.
Hope this helps. Thanks.

Categories

Find more on Stateflow in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!