System time Matlab

28 Ansichten (letzte 30 Tage)
jason beckell
jason beckell am 25 Jan. 2012
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.

Akzeptierte Antwort

Aurelien Queffurust
Aurelien Queffurust am 25 Jan. 2012
Using FFF:
datestr(now,'dd-mm-yyyy HH:MM:SS FFF')

Weitere Antworten (3)

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

Melden Sie sich an, um zu kommentieren.


Dr. Seis
Dr. Seis am 25 Jan. 2012
see also "clock"

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

Kategorien

Mehr zu Startup and Shutdown finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by