progbar
by Ben Mitch
04 Oct 2001
(Updated 13 May 2010)
progbar.m: general purpose progress bar for MATLAB
|
Watch this File
|
| File Information |
| Description |
This is a script based progress bar for MATLAB, simple usage is very simple, more complex usage is available. multiple instances no problem.
NOTE: special consideration has been given to not slowing down your hyper-optimised loops, so you should find this better than the sort of progress bar you get for free in a box of cereal.
NOTE: updated 12/05/2010 to be even better (twice as good) at not slowing down your loops. i think i really need to get a life.
typical usage:
--------------
info.color='red';
info.title='hard work';
p=progbar(info);
for n=1:1000
% do hard work here...
progbar(p,n/1000*100);
end
progbar(p,-1);
|
| Acknowledgements |
This submission has inspired the following:
progressbar
|
| MATLAB release |
MATLAB 7 (R14)
|
|
Tags for This File
|
| Everyone's Tags |
|
| Tags I've Applied |
|
| Add New Tags |
Please login to tag files.
|
| Comments and Ratings (14) |
| 14 Jan 2002 |
Marc Schurr
|
|
|
| 02 Feb 2002 |
Yuval Cohen
|
|
|
| 29 Nov 2002 |
Edo Becker
|
|
|
| 21 Jan 2003 |
Chris St. Jean
|
|
|
| 30 Jan 2003 |
Philippe Lagueux
|
|
|
| 18 Apr 2003 |
Uri Perets
|
|
|
| 12 Aug 2003 |
altug bicak
|
|
|
| 14 Nov 2003 |
James Goodwin
|
|
|
| 02 Feb 2004 |
Rajeev Madazhy
|
|
|
| 05 Feb 2004 |
Rialland Stephane
|
|
|
| 08 Mar 2006 |
Pedro Antoranz
|
|
|
| 12 Jul 2007 |
Nate Hough
|
|
|
| 17 May 2010 |
Matthew
|
|
|
| 18 Nov 2010 |
w sq
|
|
|
| Updates |
| 07 Jun 2002 |
Fixed XP issue. Now works properly under XP/v6. |
| 22 Sep 2003 |
Some people complained that progbar doesn't recognise colour codes. Well, it's not supposed to, unless you have the colour tool "rgb.m" on your path as well (see the help). This update simply adds "rgb.m". |
| 12 May 2010 |
Improved performance (twice as fast) in tight loops (inspired by comments from Bob Bemis). |
| 13 May 2010 |
slight appearance upgrade |
|
Contact us at files@mathworks.com