FUNCTION REFERENCE

milliseconds

Duration in milliseconds, or a duration as a number of milliseconds.

Duration in milliseconds, or a duration as a number of milliseconds.

Syntax

d = milliseconds(x)

Syntax

x = milliseconds(d)

The duration is shown in seconds.

Example

d = milliseconds(1500)   % 1.5 sec

Example

x = milliseconds(seconds(2))   % 2000

Differences from MATLAB: None known.

These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.