| Using Stateflow | Search  Help Desk |
Active and Inactive States
States have the Boolean characteristic of being active or inactive. The occurrence of events drives the execution of the Stateflow diagram. At any point in the execution of a Stateflow diagram, there will be some combination of active and inactive states. These are some possible combinations:In this example, when state A is active, A1 and A2 are active.

B and C.C2 or state B and C.C1 are active at the same time.
B or state A.A1 or state A.A2 is active at any one time.