Identify outer transitions with specified source
Identify Outer 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'