Main Content
change, chg
Generate implicit event when data changes value in Stateflow chart
Description
change(
generates an implicit
local event when the chart sets the value of the variable
data_name
)data_name
. If more than one data object has the same name,
use dot notation to specify the name of the data object. For more information, see
Identify Data by Using Dot Notation.
chg(
is an alternative way to
execute data_name
)change(data_name)
.
Examples
Tips
The
change
operator is supported only in Stateflow® charts in Simulink® models.
Version History
Introduced before R2006a