Stateflow: Using State as transition condition
1 回表示 (過去 30 日間)
古いコメントを表示
Does anybody know if I can use a state condition in parallel chart as a condition for transition? For example, when state b is active in subchart 2, a transition from x to y will occur, as seen in the drawing below:
0 件のコメント
採用された回答
Sebastian Castro
2015 年 4 月 17 日
There are "implicit events" in Stateflow that let you check whether you're in a state, or a state has just been entered. For example
enter(2.b)
in(2.b)
- Sebastian
0 件のコメント
その他の回答 (1 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!