how to start time from 0s
조회 수: 1 (최근 30일)
이전 댓글 표시
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
Jan
2015년 4월 5일
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.
채택된 답변
추가 답변 (2개)
Mahdiyar
2015년 4월 6일
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
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!