my simple scheduler not working in stateflow

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)

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

Tags

Asked:

on 22 Oct 2019

Answered:

on 12 Aug 2022

Community Treasure Hunt

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

Start Hunting!