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.

Respuestas (1)

Muthukumar Ganesan
Muthukumar Ganesan el 12 de Ag. de 2022

0 votos

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.

Categorías

Más información sobre Stateflow en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 22 de Oct. de 2019

Respondida:

el 12 de Ag. de 2022

Community Treasure Hunt

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

Start Hunting!

Translated by