Stateflow    

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 click-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.


  Changing Transition Arrowhead Size Creating Default Transitions