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 ?

답변 (1개)

Image Analyst
Image Analyst 2016년 1월 4일

0 개 추천

See my attached demo.

카테고리

도움말 센터File Exchange에서 Startup and Shutdown에 대해 자세히 알아보기

질문:

2016년 1월 4일

답변:

2016년 1월 4일

Community Treasure Hunt

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

Start Hunting!

Translated by