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

example

Examples

expand all

et(msec)

Tips

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

Version History

Introduced in R2017a