How to get millisecond from time display

37 次查看(过去 30 天)
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')

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Sources 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by