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!