Main Content

outerTransitions

Return array of outer transitions for object

Syntax

transitions = outerTransitions(thisObject)

Description

The outerTransitions function 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 Stateflow.State object sA, this command returns the transition from state A to state B:

tr = outerTransitions(sA)
Introduced before R2006a