Stateflow chart without states
3 ビュー (過去 30 日間)
古いコメントを表示
I have seen examples before of using a state chart without states to implement logical expressions. I tried doing this recently, and I got warnings that none of my assignments would be executed because the actions did not end in states. Why would that be?
0 件のコメント
回答 (2 件)
Fangjun Jiang
2011 年 9 月 16 日
You need to have a destination for the transition. Use the Junction if you don't have any State.
2 件のコメント
Fangjun Jiang
2011 年 9 月 16 日
No. We do flow chart logic all the time using Stateflow. What version of MATLAB are you using? Did the result come out correct? Maybe it's just a friendly warning.
Wilfred
2011 年 10 月 4 日
AFAIK, "state charts" with just junctions and transitions , and no states, can only be defined within a graphical function. Search the user manual for "graphical function" and you'll see the examples.
1 件のコメント
Fangjun Jiang
2011 年 10 月 4 日
It is not true. A state chart can have just junctions and transitions.
参考
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!