Where can I find the posixtime() function for MacOSX R2018a?

1 次查看(过去 30 天)
>> posixtime(1) Undefined function 'posixtime' for input arguments of type 'double'.

回答(1 个)

Kodavati Mahendra
syntax
p = posixtime(t)
t should be datetime array, not an integer or so.
For example
posixtime(datetime('now'))

类别

Help CenterFile Exchange 中查找有关 Dates and Time 的更多信息

标签

产品


版本

R2018a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by