File Exchange

image thumbnail


version 1.0 (1.74 KB) by

Easily shows a text or GUI progress bar when using a for-loop.



View License

progress_bar is a lightweight method of giving a progress and time indication when running an calculation intensive for-loop.
Al that is required is to include the function within the for loop such as:
| for idx=min:max
| progress_bar(idx, min, max);
| pause(0.05);
| end

Additional options include a custom message, or a GUI progress bar using waitbar.

The time added to your calculation depends on the intensity of the calculation done in each iteration and the number of iteration and is typically less than 1% for the default text version.

Comments and Ratings (4)


Mike (view profile)

Jan Keller


Pot (view profile)

Bing Xu

MATLAB Release
MATLAB 7.14 (R2012a)
Tags Add Tags

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

» Watch video

Win prizes and improve your MATLAB skills

Play today