System time Matlab

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.

 采纳的回答

更多回答(3 个)

now

3 个评论

To prove it is milliseconds:
a=datevec(now);
a(6)
ans =
48.0060
Warning: although it is millisecond precision, it is not necessarily millisecond accuracy.
Right you are. I myself also can write down time in nanoseconds, but it doesn't make sense.

请先登录,再进行评论。

jason beckell
jason beckell 2012-1-25

0 个投票

Thank you all for your answers, I finally made it :) Thank you again!
Jason.

类别

Community Treasure Hunt

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

Start Hunting!

Translated by