Stateflow: reset simulink-based state on entry
12 ビュー (過去 30 日間)
古いコメントを表示
I have a Stateflow chart in Simulink, and in this chart I have some Simulink-based states. Some of these states contain stateful blocks such as integrators and delays. I would like to reset some or all of the block states each time I enter the Simulink-based state. How can I achieve this?
0 件のコメント
回答 (1 件)
Mark McBroom
2024 年 9 月 21 日
Did you try putting a reset subsystem in the Simulink subsystem to reset the state?
Thanks.
Mark.
参考
カテゴリ
Help Center および File Exchange で Simulink Functions についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!