Unix 時間 をMATLABで扱うことができますか?

R2017a で、UNIX 時間を 時間変換できますか?

 Risposta accettata

Takafumi
Takafumi il 6 Giu 2017

0 voti

datetime 関数で扱うことができます。
dateType プロパティを 'posixtime' に変更します。
https://jp.mathworks.com/help/matlab/ref/datetime.html
datetime(unixtime,'ConvertFrom','posixtime')

Più risposte (0)

Categorie

Community Treasure Hunt

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

Start Hunting!