progressbar
by Steve Hoelzer
15 Feb 2005
(Updated 08 Oct 2010)
Simple, efficient, and user friendly replacement for waitbar.
|
Watch this File
|
| File Information |
| Description |
This implementation of progressbar is intended to be extremely simple to use while providing a high quality user experience.
Features:
- Can add progressbar to existing m-files with a single line of code.
- Supports multiple bars in one figure to show progress of nested loops.
- Optional labels on bars.
- Figure closes automatically when task is complete.
- Only one figure can exist so old figures don't clutter the desktop.
- Remaining time estimate is accurate even if the figure gets closed.
- Minimal execution time. Won't slow down code.
- Randomized color. When a programmer gets bored...
Demo:
n = 1000;
progressbar % Create figure and set starting time
for i = 1:n
pause(0.01) % Do something important
progressbar(i/n) % Update figure
end |
| Acknowledgements |
The author wishes to acknowledge the following in the creation of this submission:
progbar
This submission has inspired the following:
txtprogressbar, WORKBAR, Movie Editor, Wilcoxon signed rank examination, Hyperspectral Image Index Analysis
|
| MATLAB release |
MATLAB 7.10 (2010a)
|
|
Tags for This File
|
| Everyone's Tags |
|
| Tags I've Applied |
|
| Add New Tags |
Please login to tag files.
|
| Updates |
| 08 Oct 2010 |
Major overhaul to support multiple bars and add labels. |
| 08 Oct 2010 |
Major overhaul to support multiple bars and add labels. |
|
Contact us at files@mathworks.com