Timer with Status Bar

Implementation of a status bar (progress bar) using patches.
1K Downloads
Updated 14 Dec 2010

View License

Last year, while using guide to build a GUI, I noticed that there is not a status bar component. So, since I knew how to create rectangles using patches, I thought I would try to create a status bar.
I started by placing an axes inside the figure. I created a timer that can go up to two minutes. Based on the elapsed time and the total time in the timer (which the user can select), I removed the previous rectangle and then patched a new one. The process continued until the time limit was met, or until the user pressed the Stop button.

Cite As

Gustavo Orellana (2026). Timer with Status Bar (https://uk.mathworks.com/matlabcentral/fileexchange/29714-timer-with-status-bar), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2008a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on App Building in Help Center and MATLAB Answers

TimerWithStatusBar/

Version Published Release Notes
1.0.0.0