FUNCTION REFERENCE
seconds
Duration in seconds, or a duration as a number of seconds.
Duration in seconds, or a duration as a number of seconds.
Syntax
d = seconds(x)Syntax
x = seconds(d)With numbers, a duration shown in seconds; with a duration, the number of
seconds it holds.
Example
d = seconds(90) % 90 secExample
x = seconds(minutes(2)) % 120Differences from MATLAB: None known.
These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.