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