duration
Description
returns the length of time, in seconds, that time = duration(condition)condition stays
true. Use this operator only in the preconditions of a Requirements Table block.
Examples
Input Arguments
Output Arguments
Tips
The Requirements Table block resets the output of the
durationoperator ifconditionbecomesfalseor if the block becomes inactive.
Version History
Introduced in R2022a
