Interval workout timer
A GUI interval timer for exercising at home. It is designed for routines in which all the workouts have the same duration. User can personalise the function by setting the duration of the workout, resting time between workouts, number of repeating sets, etc. The name of the workout is announced at the beginning of each session. The function also announces the half-way time and counts down at the last 3 seconds in each workout.
The main body of the function is based on Matt Fig's post https://www.mathworks.com/matlabcentral/answers/6094-two-questions-timer-and-sound#answer_8474. The announcements are constructed through Siyi Deng's text-to-speech function (https://www.mathworks.com/matlabcentral/fileexchange/18091-text-to-speech).
Cite As
Mogeng Li (2024). Interval workout timer (https://www.mathworks.com/matlabcentral/fileexchange/74751-interval-workout-timer), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxTags
Acknowledgements
Inspired by: text-to-speech
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.