Detect data change to specified value in test step
true if the value of
u changes to the value
Detect Value Change To Specified Value
x has changed to a value of 10. This statement returns
x did not have value of 10 in the
previous time step and has a value of 10 in the current time step.
hasChangedTo statements can be used in the Test Sequence and Test
Assessment blocks and in Stateflow® charts.