System time Matlab

36 vues (au cours des 30 derniers jours)
jason beckell
jason beckell le 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.

Réponse acceptée

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

Plus de réponses (3)

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

Connectez-vous pour commenter.


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

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

Catégories

En savoir plus sur Logical dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by