Stateflow    

Keywords

These Stateflow keywords have special meaning in the notation.

Keyword
Shorthand
Meaning
change(data_name)
chg(data_name)
Generates a local event when the value of data_name changes.
during
du
Actions that follow are executed as part of a state's during action.
entry
en
Actions that follow are executed as part of a state's entry action.
entry(state_name)
en(state_name)
Generates a local event when the specified state_name is entered.
exit
ex
Actions that follow are executed as part of a state's exit action.
exit(state_name)
ex(state_name)
Generates a local event when the specified state_name is exited.
in(state_name)
none
A condition function that is evaluated as true when the state_name specified as the argument is active.
on event_name
none
Actions that follow are executed when the event_name specified as an argument to the on keyword is broadcast.
send(event_name,state_name)
none
Send the event_name specified to the state_name specified (directed event broadcasting).
matlab(evalString,arg1,arg2,...)
ml()
Action specifies a call using MATLAB function notation.
matlab.MATLAB_workspace_data
ml.
Action specifies a call using the ml name space notation.


 State Action Notation Action Language Components