System time Matlab

132 views (last 30 days)
jason beckell
jason beckell on 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.

Accepted Answer

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

More Answers (3)

Andreas Goser
Andreas Goser on 25 Jan 2012
now
  3 Comments
Andreas Goser
Andreas Goser on 25 Jan 2012
Right you are. I myself also can write down time in nanoseconds, but it doesn't make sense.

Sign in to comment.


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

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

Categories

Find more on Entering Commands in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by