how to start time from 0s
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Hi, I am creating a GUI in matlab. I have a button and the time when I press the button is recorded. I manage to do that using clock. However, is there any way the start of the time is from 0s? Thanks.
1 Kommentar
Jan
am 5 Apr. 2015
Please edit the question and add much more details. "Using clock" does not explain clearly, what you are doing, therefore I cannot guess what the problem is.
Weitere Antworten (2)
Mahdiyar
am 6 Apr. 2015
Hi mira
you can also use command "clock" as follows:
Start_Time = clock
it gives you the accurate time as following matrix
[year month day hour minute seconds]
Regrads
1 Kommentar
Siehe auch
Kategorien
Mehr zu Clocks and Timers 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!