
Stateflow: How do I create one state output from multiple states?
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Hi,
I have a simulink model with a stateflow diagram where I have a state output ("Create ouput for monitor") that is configured as a child activity. It seems to work great.
Now i want to make a Subchart that also adds states to the top level state output. If i enable "Create output for monitor" it creates a seperate output from the stateflow chart, which is not what i wanted.
Anybody know if its possible for the Subchart to add its states to the top level state output?
Thanks,
Ebbe.
0 Kommentare
Antworten (1)
stozaki
am 9 Jan. 2020
Bearbeitet: stozaki
am 9 Jan. 2020
Hello Ebbe,
I have one suggestion.
If you enable 'Log Active Leaf State' and 'Log Active State' on the Simulink Toolstrip, you can see the logs in 'Simulation Data inspector'. You can also get Child Activity and Self Activity logs if you needed.
However, in this method you cannot output signals from the chart block.
Regards,

0 Kommentare
Siehe auch
Kategorien
Mehr zu Active State Data finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!