milliseconds
R2026bDuration in milliseconds
Syntax
Description
returns an
array of milliseconds equivalent to the values in MS = milliseconds(X)X. The
input and output arrays can contain noninteger values.
If
Xis a numeric array, thenmillisecondsconverts it to adurationarray where each element is equal to the number of milliseconds in the corresponding element ofX. Thenmillisecondssets theFormatproperty of the output array to's', displaying time in seconds.If
Xis adurationarray, thenmillisecondsconverts it to adoublearray where each element is equal to the number of milliseconds in the corresponding element ofX.
Examples
Input Arguments
Output Arguments
Extended Capabilities
Version History
Introduced in R2015a