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

>> posixtime(1) Undefined function 'posixtime' for input arguments of type 'double'.

Answers (1)

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

Categories

Find more on MATLAB in Help Center and File Exchange

Products

Release

R2018a

Tags

Asked:

on 5 Jun 2018

Community Treasure Hunt

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

Start Hunting!