Stateflow | ![]() ![]() |
Executing a Set of Flow Graphs
Each flow graph group is executed in the order of group priority until a valid transition is found. The default transitions group is executed first, followed by the inner transitions group and then the outer transitions group. Each flow graph group is executed with the following procedure.
No more transition segments are tested and a transition path is formed
by including the transition segment from each preceding junction back to
the starting transition.
The transition action for the final transition segment of the full transition
path is executed.
After testing all outgoing transition segments at a junction, back up the incoming transition segment that brought you to the junction and continue at step 2, starting with the next transition segment after the backup segment. The set of flow graphs is done executing when all starting transitions have been tested.
![]() | Transition Flow Graph Types | Ordering Single Source Transitions | ![]() |