Stateflow: reset simulink-based state on entry
Ältere Kommentare anzeigen
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?
Antworten (1)
Mark McBroom
am 21 Sep. 2024
0 Stimmen
Did you try putting a reset subsystem in the Simulink subsystem to reset the state?
Thanks.
Mark.
1 Kommentar
Francis
am 10 Okt. 2024
Kategorien
Mehr zu Simulink Functions finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!