latch
保存表达式的值
语法
描述
latch( 在进入测试步骤时保存 x)x 的值,并返回 x 的值。下次进入该步骤时,latch(x) 语句将重新评估。在 Test Sequence 或 Test Assessment 模块的测试步骤中使用 latch 操作符。
示例
版本历史记录
在 R2015a 中推出
保存表达式的值
latch( 在进入测试步骤时保存 x)x 的值,并返回 x 的值。下次进入该步骤时,latch(x) 语句将重新评估。在 Test Sequence 或 Test Assessment 模块的测试步骤中使用 latch 操作符。
在 R2015a 中推出