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 日

0 投票

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.

カテゴリ

ヘルプ センター および File ExchangeStateflow についてさらに検索

タグ

質問済み:

2019 年 10 月 22 日

回答済み:

2022 年 8 月 12 日

Community Treasure Hunt

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

Start Hunting!

Translated by