Stateflow User's Guide Previous page   Next Page

Creating a Transition

Use the following procedure for creating transitions between states and junctions:

  1. Place the cursor on or close to the border of a source state or junction.
  1. The cursor changes to crosshairs.

  1. Click and drag a transition to a destination state or junction.
  2. Release on the border of the destination state or junction.
  1. Notice that the source of the transition sticks to the initial source point for the transition.

Attached transitions obey the following rules:

To delete a transition, select it and choose Ctrl+X or Cut from the Edit menu, or press the Delete key.

See the following sections for help with creating self-loop and default transitions:


Previous page  Creating Transitions in Stateflow Charts Creating Straight Transitions Next page

© 1994-2005 The MathWorks, Inc.