I would like to be able to get the currently active state of a state machine implemented using Stateflow. During simulation of the Stateflow chart, the active state is highlighted, however, I would like to be able to determine the currently active state via the command line interface.
MATLAB: How to determine the “active state” in a Stateflow diagram for Stateflow 7.0 (R2007b)
activehasoutputdatastatestateflow
Best Answer