Stateflow symbol manager organization
조회 수: 2 (최근 30일)
이전 댓글 표시
In the sf_tetris2 model example the symbols of the chart are organized by state and can be hidden/shown cliking on the state drop down option.
In my model all the symbols are not organized according to state and I don't seem to find an option to do so.
I've created the symbols eather in the top chart or in sub-charts but the issue remains.
What I'm doing wrong?
댓글 수: 0
답변 (1개)
Yukthi S
2024년 2월 21일
Hi Alessandro,
I figured out that you were not able to organise the symbols according to their state.
By default,all the symbols are organized according to their states ,but if you want to re-arrange some symbols under certain states,you can do it using the Model Explorer.
For proper understanding, here I am considering another example in Stateflow.
1.You can open this example by typing the below command in the command window:
openExample('stateflow/ModelingACdPlayerradioUsingStateTransitionTableExample')
2.Open the "CdPlayerModeManager" chart which also opens up the Symbol Manager. Go to the Tools section and open Model Explorer.
3.Select “RadioReq”,right click on it and cut the symbol.
4.Go to “Eject” and paste the symbol.
5.If you go back again to the Symbol manager,you can see “RadioReq” is listed under Eject.
I hope this resolves the issue.
댓글 수: 0
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!