No License

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Highlights from
Another text Waitbar

4.2 | 4 ratings Rate this file 1 Download (last 30 days) File Size: 5.67 KB File ID: #16213 Version: 1.0
image thumbnail

Another text Waitbar


Joseph (view profile)


03 Sep 2007 (Updated )

A text progressbar, faster than the graphical Matlab waitbar

| Watch this File

File Information

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.


Progress inspired this file.

MATLAB release MATLAB 7.3 (R2006b)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (5)
12 Dec 2013 kasim tasdemir


I use 'dispstat' function just for this purpose. It can update the previous output which is a missing function of default 'disp'. Very simple to use. It can be downloaded from here:

***Sample usage:
dispstat('','init'); % One time only initialization
dispstat(sprintf('Begining the process...'),'keepthis','timestamp');
for i = 97:100
dispstat(sprintf('Progress %d%%',i),'timestamp');
%doing some heavy stuff here

11:25:37 Begining the process...
11:25:37 Progress 100%

All the best

Comment only
27 Aug 2012 Ganquan Mao

26 Jul 2009 Christine A.

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 Apr 2008 Tiziano Fiorenzani

Nice and easy.

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.

Contact us