minutes
Duration in minutes
Syntax
Description
M = minutes(
returns
an array of minutes equivalent to the values in X
)X
.
If
X
is a numeric array, thenM
is aduration
array in units of minutes.If
X
is aduration
array, thenM
is adouble
array with each element equal to the number of minutes in the corresponding element ofX
.
The minutes
function converts between duration
and double
values.
To display a duration in units of minutes, set its Format
property
to 'm'
.
Examples
Input Arguments
Extended Capabilities
Version History
Introduced in R2014b