Designing a Start/Stop Mechanism for a Stateflow State Machine

조회 수: 3 (최근 30일)
Jack Daniels
Jack Daniels 2025년 9월 18일
I have a simple state machine with two top-level states: Off and On. The On state contains the substates aState1 → bState2 → cState3.
In this configuration, I can use the start signal to trigger the transition into the On state and then exit after executing the substates. However, I am not able to automatically turn off the toggle switch when exiting the On state.
Would you like me to suggest how to implement the auto-reset of the toggle switch (e.g. by using a latch with a feedback signal from FSM) or rewrite automatically value of the start block?

답변 (0개)

카테고리

Help CenterFile Exchange에서 Decision Logic에 대해 자세히 알아보기

제품


릴리스

R2024b

Community Treasure Hunt

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

Start Hunting!

Translated by