Stateflow | ![]() ![]() |
Label Format for Transition Segments Example
The general label format for a transition segment entering a junction is the same as for transitions entering states, as shown in the following example:
Execution of a transition in this example occurs as follows:
condition_1
evaluates to true, the condition action condition_action
(in braces) is executed.
condition_2
is true, a valid state-to-state transition (S1 to S2) is found.
exit
action).
transition_action
is executed.
entry
action).
![]() | Connective Junction Examples | If-Then-Else Decision Construct Example | ![]() |