[Simulink] monitoring the realtime states of "chart"

2 次查看(过去 30 天)
Hi,
I am using "Chart" block in Simulink for simulating the state machine.
I want to monitor the state of each time through the simulation time.
Is there any function to monitor the state transitions of chart?
Best,

回答(2 个)

Anuj
Anuj 2023-7-10
编辑:Anuj 2023-7-10
You can monitor the state during simulationin the symbols panel.
You can open symbols panel using following steps -->
  • In the State Chart toolbar option click on Add data drop down button.
  • click on show Symbols Panel.
Later during your execution you monitor the state value in right panel as shown in the image.

takaka
takaka 2023-7-13
Thank you so much!
I got it.

类别

Help CenterFile Exchange 中查找有关 Simulink Functions 的更多信息

产品


版本

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by