How to get millisecond from time display

50 ビュー (過去 30 日間)
Joel Sande
Joel Sande 2016 年 4 月 18 日
編集済み: Joel Sande 2016 年 4 月 19 日
Hi everyone, I want to get millisecond value displayed. Is there another additional function that allow me do that ?
time = fix(clock);
>> disp(time)
the output is : 2016 4 18 16 40 25
I also want another number ( m ) at the right for milliseconds. Does not necessarily need to be an integer. Thanks
2016 4 18 16 40 25 m

採用された回答

Azzi Abdelmalek
Azzi Abdelmalek 2016 年 4 月 18 日
編集済み: Azzi Abdelmalek 2016 年 4 月 18 日
datestr(clock,'YYYY/mm/dd HH:MM:SS:FFF')
  1 件のコメント
Joel Sande
Joel Sande 2016 年 4 月 19 日
編集済み: Joel Sande 2016 年 4 月 19 日
Thanks !! Excellent :)

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeSources についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by