after
Elapsed time since beginning of test step
Syntax
Description
after(
returns true if the amount of time (n,timeunits)n) in
timeunits has elapsed since the beginning of the current test step.
You must include the timeunits.
Valid time units are:
sec — seconds
msec — milliseconds
usec — microseconds
Examples
Tips
You can use
afterstatements in Test Sequence and Test Assessment blocks and in Stateflow® charts. For more information about usingafterin Stateflow charts, seeafter (Stateflow).To return
trueafter aWhendecomposition test step has been active for a specified time, use theafteroperator in the body of theWhendecomposition test step.To return
trueafter the parent step of aWhendecomposition step has been active for a specified time, use theafteroperator in theWhencondition expression.
Version History
Introduced in R2015a