Stateflow | ![]() ![]() |
Label Format for a State-to-State Transition Example
The following example shows the general label format for a transition entering a state:
Execution of the above transition occurs as follows:
[condition]
) is evaluated.
condition
evaluates to true, the condition action condition_action
({condition_action}
) is executed.
transition_action
is executed when the transition is taken.
![]() | Transitions to and from Exclusive (OR) States Examples | Transitioning from State to State with Events Example | ![]() |