Multi progress bar
by Ben Tordoff
04 Feb 2010
(Updated 23 Aug 2010)
A new "shiny" progress-bar with multiple bars in a single window, time-estimates and more.
|
Watch this File
|
| File Information |
| Description |
This function provides a new progress-bar (waitbar in MATLAB-speak) with the following features:
* Multiple bars in one window
* Robust to the window being closed
* Time-estimates for long-running tasks
* Completion percentage for long-running tasks
* Control of the color for each bar
* Textured bars (pointless, but nice)
* No need to keep/manage window handles
* Cancel tasks using a return flag or callback function
Note that this incurs roughly the same computational overhead as the built-in WAITBAR for low numbers of iterations and usually less overhead for high numbers of iterations.
Requires MATLAB R2009a or above. |
| MATLAB release |
MATLAB 7.9 (2009b)
|
|
Tags for This File
|
| Everyone's Tags |
|
| Tags I've Applied |
|
| Add New Tags |
Please login to tag files.
|
| Updates |
| 12 May 2010 |
2010-05-12: Significant (~20%) speed improvement |
| 18 Jun 2010 |
Fix highlight markers at 10% intervals (were wrong way round)
Shade background |
| 29 Jul 2010 |
* Add ability to cancel using return flag or callback function
* Don't lose bar properties if the window gets closed
* Prevent the window being accidentally clobbered |
| 23 Aug 2010 |
* Don't grab focus unless currently hidden |
|
Contact us at files@mathworks.com