See my attached demo.
Is there a timer function ?
1 次查看(过去 30 天)
显示 更早的评论
I'm making a clock and i would like it to have a timer function. I was thinking if there's a way that i could create a button " Start " and the timer would start running , and then i would like it to have two " stop " buttons, one where the time that has passed would be saved in a variable , and other that would stop the timer . Can someone help me ?
0 个评论
回答(1 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Startup and Shutdown 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!