Main Content

et

Elapsed time of test step

Description

et(timeunits) returns the elapsed time of the test sequence step in timeunits. If you omit timeunits, the elapsed time defaults to seconds. et is an alias for elapsed and both are valid.

Valid time units are:

  • sec — seconds

  • msec — milliseconds

  • usec — microseconds

Examples

Specify Elapsed Step Time in Milliseconds

et(msec)

Tips

et statements can be used in the Test Sequence and Test Assessment blocks and in Stateflow® charts.

Introduced in R2017a