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개)
Andreas Goser
2012년 1월 25일
now
댓글 수: 3
Andreas Goser
2012년 1월 25일
To prove it is milliseconds:
a=datevec(now);
a(6)
ans =
48.0060
Walter Roberson
2012년 1월 25일
Warning: although it is millisecond precision, it is not necessarily millisecond accuracy.
Andreas Goser
2012년 1월 25일
Right you are. I myself also can write down time in nanoseconds, but it doesn't make sense.
카테고리
도움말 센터 및 File Exchange에서 Performance and Memory에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!