Main Content
duration
Description
returns the length of time, in seconds, that time
= duration(condition
)condition
stays
true
. Use this operator in the Requirements Table block.
Examples
Input Arguments
Output Arguments
Tips
The Requirements Table block resets the output of the
duration
operator ifcondition
becomesfalse
or if the block becomes inactive.
Version History
Introduced in R2022a