System time Matlab

31 次查看(过去 30 天)
Hello to everybody!
I have a very simple question. Is there a Matlab routine which returns the current system time showing up to milliseconds?
Thanks to everybody in here and my best regards!
Jason.

采纳的回答

Aurelien Queffurust
Using FFF:
datestr(now,'dd-mm-yyyy HH:MM:SS FFF')

更多回答(3 个)

Andreas Goser
Andreas Goser 2012-1-25
  3 个评论
Walter Roberson
Walter Roberson 2012-1-25
Warning: although it is millisecond precision, it is not necessarily millisecond accuracy.
Andreas Goser
Andreas Goser 2012-1-25
Right you are. I myself also can write down time in nanoseconds, but it doesn't make sense.

请先登录,再进行评论。


Dr. Seis
Dr. Seis 2012-1-25
see also "clock"

jason beckell
jason beckell 2012-1-25
Thank you all for your answers, I finally made it :) Thank you again!
Jason.

类别

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

Community Treasure Hunt

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

Start Hunting!

Translated by