Setting up the State Id data type

The State Id data type produces a unique numeric identifier of the currently active state. It can be plotted during the course of a simulation to trace system behavior.

If there are nested regions in the state chart, the state chart can have multiple active states: one in each active region.

To configure a State Id data type in multiple active regions

1.    In the State Chart > Data Browser dialog, select the State Id variable and click stateIDconfigbutton.

2.    Select State or Region appears.

3.    Click + to expand the state chart tree.

4.    Select a state or region.

5.    Click OK.

The selected state or region is displayed under Default Value in the Data Browser.