How to simulate a Do-While loop in MATLAB using Stateflow model ? I need to simulate an alarm using do-while loop and it is a part of my assignment. Please do the needful to help me.

When I tried solving the problem it showed that the input should be given in a non-scalar form. I am stuck in this. Even though I give the input in non-scalar form, I am not getting any output.

1 件のコメント

stozaki
stozaki 2020 年 1 月 26 日
Did you solve this problem? I think I can handle it in scalar format.

サインインしてコメントする。

回答 (1 件)

stozaki
stozaki 2020 年 1 月 27 日
I attached example script and stateflow chart model.
I can't attach the .SFX file, so I zipped and attached.
Regards,
stozaki

カテゴリ

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

タグ

質問済み:

2019 年 12 月 25 日

回答済み:

2020 年 1 月 27 日

Community Treasure Hunt

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

Start Hunting!

Translated by