[Simulink] monitoring the realtime states of "chart"

11 visualizzazioni (ultimi 30 giorni)
takaka
takaka il 30 Giu 2023
Risposto: takaka il 13 Lug 2023
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,

Risposte (2)

Anuj
Anuj il 10 Lug 2023
Modificato: Anuj il 10 Lug 2023
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 il 13 Lug 2023
Thank you so much!
I got it.

Categorie

Scopri di più su Simulink Functions in Help Center e File Exchange

Prodotti


Release

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by