Stateflow | ![]() ![]() |
Combination States
When a Stateflow diagram has states with parallel (AND) decomposition, multiple states can be active simultaneously. A combination state is a notational representation of those multiple states. For example, a Stateflow diagram could have two active states with parallel (AND) decomposition, A.B
and X.Y
. Using combination state notation, the activity of the Stateflow diagram is denoted by (A.B,X.Y
).
A state is characterized by its label. The label consists of the name of the state optionally followed by a / character and additional keywords defined below. The label appears on the top left-hand corner of the state rectangle.
![]() | Active and Inactive States | Labeling a State | ![]() |