hasChangedTo
Detect data change to specified value in test step
Syntax
Description
hasChangedTo( returns
u,B)true if the value of u changes to the value
B. Otherwise, hasChangedTo returns
false.
Examples
Tips
hasChangedTo statements can be used in the Test Sequence and Test
Assessment blocks and in Stateflow® charts.
Version History
Introduced in R2015a