System time Matlab
Mostra commenti meno recenti
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.
Risposta accettata
Più risposte (3)
Andreas Goser
il 25 Gen 2012
now
3 Commenti
Andreas Goser
il 25 Gen 2012
To prove it is milliseconds:
a=datevec(now);
a(6)
ans =
48.0060
Walter Roberson
il 25 Gen 2012
Warning: although it is millisecond precision, it is not necessarily millisecond accuracy.
Andreas Goser
il 25 Gen 2012
Right you are. I myself also can write down time in nanoseconds, but it doesn't make sense.
Dr. Seis
il 25 Gen 2012
1 voto
see also "clock"
jason beckell
il 25 Gen 2012
0 voti
Categorie
Scopri di più su Performance and Memory in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!