How to create a timer that starts and stops with a button push in MATLAB App Designer?

3 views (last 30 days)
Logan Russell
Logan Russell on 27 Nov 2021
Edited: Image Analyst on 28 Nov 2021
Hello, I am very new to the MATLAB App Designer and I was wondering how to add a timer that counts up one per second and starts/stops with a button push on one of the tabs of my app. I am open to any solution, also not sure how to display the timer in the app. Any help would be greatly appreciated, thanks!

Answers (1)

Image Analyst
Image Analyst on 28 Nov 2021
Edited: Image Analyst on 28 Nov 2021
All I have is a GUIDE version that does that. It's attached. You can probably adapt the concept to work in App Designer.

Products


Release

R2021a

Community Treasure Hunt

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

Start Hunting!