4.0

4.0 | 3 ratings Rate this file 22 downloads (last 30 days) File Size: 5.67 KB File ID: #16213

Another text Waitbar

by Joseph

 

03 Sep 2007 (Updated 07 Sep 2007)

No BSD License  

A text progressbar, faster than the graphical Matlab waitbar

Download Now | Watch this File

File Information
Description

It's one .m file, with examples included.

It's fast, the title can be changed, it supports bars for nested loops, and the bar can be erased at the end.

The only problem is that you can't print anything while using this bar (this is true for all the text bar actually). Just print it before or after.

There are 5 examples, including one that shows how to print an estimate of the remaining time.

Any suggestions of improvements are welcome.

Acknowledgements

The author wishes to acknowledge the following in the creation of this submission:
progress

MATLAB release MATLAB 7.3 (R2006b)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (3)
26 Apr 2008 Tiziano Fiorenzani

Nice and easy.

25 Sep 2008 Andrea Tagliasacchi

I would really like to know why you used the \t character knowing that it might work only for windows (e.g. on OSX it doesn't)

I had to hack the code but the overall quality is ok.

26 Jul 2009 Christine Acou  
Please login to add a comment or rating.
Updates
05 Sep 2007

Error in the last example

05 Sep 2007

Another bug in the last example.. Sorry...

05 Sep 2007

Typos in the comments, and a correction in the last example.

07 Sep 2007

Some speed improvements, and an example of nested bars. I also completed the description.

Tag Activity for this File
Tag Applied By Date/Time
wait bar waitbar progress text fast Joseph 22 Oct 2008 09:25:30
 

MATLAB Central Terms of Use

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Terms prior to use.

Contact us at files@mathworks.com