Stateflow chart without states
이전 댓글 표시
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?
답변 (2개)
Fangjun Jiang
2011년 9월 16일
0 개 추천
You need to have a destination for the transition. Use the Junction if you don't have any State.
댓글 수: 2
John F
2011년 9월 16일
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일
0 개 추천
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.
카테고리
도움말 센터 및 File Exchange에서 Decision Logic에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!