Stateflow    

State Action Notation

Actions can be associated with states via the state's label by defining entry, during, exit, and on event_name keywords. The general format of a state label is shown below.

The / (forward slash) following the state name is optional. See Semantics of State Actions for information on the semantics of state actions. See the examples of the semantics of state actions in Chapter 8, Semantics, .


 Transition Action Notation Keywords