Generate implicit event when data changes value
change( generates an implicit
local event when the chart sets the value of the variable
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
Define an implicit local event when a state or transition
action writes a value to the variable
change operator is supported only in Stateflow® charts in Simulink® models.
change operator only works with data at the chart level
or lower in the chart hierarchy. To determine when the value of machine-parented
data changes, use change detection operators. For more information, see Detect Changes in Data Values.