| Stateflow User's Guide | ![]() |
What Is a Transition?
A transition is a curved line with an arrowhead that links one graphical object to another. In most cases, a transition represents the passage of the system from one mode (state) object to another. A transition is attached to a source and a destination object. The source object is where the transition begins and the destination object is where the transition ends. This is an example of a transition from a source state, On, to a destination state, Off.
Junctions divide a transition into transition segments. In this case, a full transition consists of the segments taken from the origin to the destination state. Each segment is evaluated in the process of determining the validity of a full transition.
The following example has two segmented transitions: one from state On to state Off, and the other from state On to itself:
A default transition is a special type of transition that has no source object. See Default Transitions for a description of a default transition.
| Transitions | Transition Hierarchy | ![]() |
© 1994-2005 The MathWorks, Inc.