Stateflow | ![]() ![]() |
Labeling Transitions
Transition labels contain Stateflow action language that accompanies the execution of a transition. Creating and editing transition labels is described in the following topics:
For more information on transition concepts, see Transition Label Notation.
For more information on transition label contents, see Action Language.
Editing Transition Labels
Label unlabeled transitions as follows:
To apply and exit the edit, deselect the object. To reedit the label, simply left-click the label text near the character position you want to edit.
Transition Label Format
Transition labels have the following general format:
Specify, as appropriate, relevant names for event
, condition
, condition_action
, and transition_
action
.
Transitions do not have to have labels. You can specify some, all, or none of the parts of the label. Valid transition labels are defined by the following:
![]() | Creating Straight Transitions | Moving Transitions | ![]() |