Info

此问题已关闭。 请重新打开它进行编辑或回答。

I need hep with a timer !

2 次查看(过去 30 天)
André Magrinho
André Magrinho 2016-1-4
关闭: Walter Roberson 2016-1-4
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

回答(0 个)

此问题已关闭。

Community Treasure Hunt

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

Start Hunting!

Translated by