Generate implicit event when state becomes inactive
exit(
generates an implicit
local event when the chart execution exits the state state_name
)state_name
.
If more than one state has the same name, use dot notation to specify the name of
the state. For more information, see Identify Data by Using Dot Notation.
ex(
is an alternative way to
execute state_name
)exit(state_name)
.
The exit
operator is supported only in Stateflow® charts in Simulink® models.