Stateflow User's Guide Previous page   Next Page

Creating Self-Loop Transitions

A self-loop transition is a transition whose source and destination are the same state or junction.

The following is an example of a self-loop transition:

To create a self-loop transition, do the following:

  1. Create the transition as usual by clicking and dragging it out from the source state or junction.
  2. Continue dragging the transition tip back to a location on the source state or junction.

For the semantics of self-loops, see Self-Loop Transitions.


Previous page  Changing Transition Arrowhead Size Creating Default Transitions Next page

© 1994-2005 The MathWorks, Inc.