my simple scheduler not working in stateflow

1 次查看(过去 30 天)
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.

回答(1 个)

Muthukumar Ganesan
Muthukumar Ganesan 2022-8-12
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.

类别

Help CenterFile Exchange 中查找有关 Complex Logic 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by