after
自测试步骤开始以来经过的时间
描述
如果从当前测试步骤开始以来 timeunits
中的时间量(n
)已经过去,则 after(
返回 true。您必须包含 n
,timeunits
)timeunits
。
有效的时间单位是:
sec — 秒
msec — 毫秒
usec — 微秒
示例
提示
after
语句可以在 Test Sequence 和 Test Assessment 模块以及 Stateflow® 图中使用。
版本历史记录
在 R2015a 中推出