Stateflow | ![]() ![]() |
Default Transition to a Junction Example
The following example shows the behavior of a default transition to a connective junction.
Initially the Stateflow diagram is asleep. State B
.B1
is active. An event occurs and awakens the Stateflow diagram. Condition [C_two
] is true. The event is processed from the root of the Stateflow diagram down through the hierarchy of the Stateflow diagram:
B
checks to see if there is a valid transition as a result of any event. There is none.
B1
during
actions (durB1()
) execute and complete.
This sequence completes the execution of this Stateflow diagram associated with the occurrence of any event.
![]() | Default Transition in Exclusive (OR) Decomposition Example | Default Transition and a History Junction Example | ![]() |