Identify outgoing transitions with specified source
returns an array of
transitions = outerTransitions(
Stateflow.Transition objects that
correspond to the outer transitions of the specified source state. An outer
transition is a transition that exits the source state.
Identify Outgoing Transitions
ch is the
Stateflow.Chart object that corresponds to this chart.
Stateflow.State object named
sA = find(ch,"-isa","Stateflow.State",Name="A");
Identify the transition whose source is state
whose destination is outside of state
A. Display the name
of the destination.
tr = outerTransitions(sA); tr.Destination.Name
ans = 'C'
Introduced before R2006a