| Using Stateflow | Search  Help Desk |
Event Actions
Example: Event Actions and Superstates
This example shows the semantics of event actions within superstates.
A.A1 is active. Event E_three occurs and awakens the Stateflow diagram. Event E_three is processed from the root of the Stateflow diagram down through the hierarchy of the Stateflow diagram:
.E_three. There is no valid transition.
.A executes and completes during actions (durA()).
.A executes and completes the on event E_three action (A_one).
.A checks its children for valid transitions. There are no valid
transitions.
.A1 executes and completes during actions (durA1()).
.E_three.