Stateflow symbol manager organization

3 visualizaciones (últimos 30 días)
Alessandro Bertucci
Alessandro Bertucci el 29 de Oct. de 2021
Respondida: Yukthi S el 21 de Feb. de 2024
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?

Respuestas (1)

Yukthi S
Yukthi S el 21 de Feb. de 2024
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.

Categorías

Más información sobre Complex Logic en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by