View License

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

» Watch video

Highlights from

4.7 | 15 ratings Rate this file 4 Downloads (last 30 days) File Size: 6.86 KB File ID: #869 Version: 1.3
image thumbnail



Ben Mitch (view profile)


04 Oct 2001 (Updated )

progbar.m: general purpose progress bar for MATLAB

Editor's Notes:

This file was selected as MATLAB Central Pick of the Week

| Watch this File

File Information

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.title='hard work';
for n=1:1000
  % do hard work here...


This file inspired Dicom Server Connection and Progressbar.

MATLAB release MATLAB 7 (R14)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (15)
30 Aug 2016 Eric Li

18 Nov 2010 w sq

w sq (view profile)

I have a qustion about progress bar. I wanna read a file and display a time-consum progress bar under it, but i cann't estimate how much time it used. So how do you know the percentage?

17 May 2010 Matthew


12 Jul 2007 Nate Hough

beautiful, works like a charm. simple but useful.

08 Mar 2006 Pedro Antoranz

Very useful and easy to call

05 Feb 2004 Rialland Stephane

Simple use and excellent.

02 Feb 2004 Rajeev Madazhy

good tool....

14 Nov 2003 James Goodwin

Great tool. Useful for long calculations where your not sure how far matlab has got!

12 Aug 2003 altug bicak

great work

18 Apr 2003 Uri Perets

Exelent tool, easy for use. Just one problem, in R13 it don't recongnise color codes.

30 Jan 2003 Philippe Lagueux

Worked perfectly and easily. However, does not recognize color codes such as 'r' (red==>[1 0 0]) with version 6.5 R13

21 Jan 2003 Chris St. Jean

Worked perfectly without modification. Thanks!

29 Nov 2002 Edo Becker

very nice tool, needs modification for windows 2000 and Matlab 6.1

02 Feb 2002 Yuval Cohen

Did not work properly under Matlab 6.0 and Windows XP
To fix the problem, replace lines 122-127 with:


14 Jan 2002 Marc Schurr

07 Jun 2002

Fixed XP issue. Now works properly under XP/v6.

12 May 2010 1.1

Improved performance (twice as fast) in tight loops (inspired by comments from Bob Bemis).

13 May 2010 1.3

slight appearance upgrade

Contact us