Stateflow | ![]() ![]() |
Transition Action Notation
Actions can be associated with transitions via the transition's label. The general format of a transition label is shown below.
When the event occurs, the transition is evaluated. The condition action is executed as soon as the condition is evaluated as true and before the transition destination has been determined to be valid. Enclose the condition action in curly brackets. Specifying a transition action means that the action is executed when the transition is taken, provided the condition, if specified, is true.
![]() | Objects with Actions | State Action Notation | ![]() |