I'd like to make a timer or stopwatch
Show older comments
I'm making a clock that as some functions, a time zone based clock, and i would like it to have a "timer" function to! Can someone help me? I'm novice so i don't know much of matlab but any help would be appreciated!
[Merged from duplicate question]
I need to make a timer where in a menu i choose the option " Start " the function timer starts running and when the user chooses the option " Stop " the timer stops and shows the user the time that have passed. I'm using the choice = menu ( 'title' , 'option1' , ... ) menu, and i made something like Choice = menu ( ' Timer ', ' Start ' ) and when the user pressed start i wanted the timer to start running and another menu would appear with the ' stop ' option , and when the user pressed the stop button, Matlab would show the time that as passed
Accepted Answer
More Answers (1)
Image Analyst
on 4 Jan 2016
2 votes
See my attached demo.
Categories
Find more on File Operations 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!