Skip to Main Content Skip to Search
Product Documentation

outerTransitions - Return array of outer transitions for object

Syntax

transitions = thisObject.outerTransitions

Description

The outerTransitions method returns an array of transitions that exit the outer edge of this object and terminate on objects outside the containment of this object.

Arguments

None

thisObject

The object for which to find outer transitions. Can be of object type State or Box.

Returns

transitions

An array of transitions exiting the outer edge of this state.

Examples

A chart contains three states, A, B, and C. State A is connected to state B through a transition from state A to state B. State B is connected to state C through a transition from state B to state C. And state C is connected to state A through a transition from state C to state A. If state A is represented by State object handle sA, the command sA.outerTransitions returns the transition from state A to state B.

  


Free Stateflow Interactive Kit

Learn how engineers use Stateflow to model state machines in their Simulink models.


Get free kit

Trials Available

Try the latest version of Stateflow.


Get trial software
 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS