Identify outgoing transitions with specified source
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