View License

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

» Watch video

Highlights from

2.5 | 4 ratings Rate this file 4 Downloads (last 30 days) File Size: 1.74 KB File ID: #42360 Version: 1.0
image thumbnail




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

| Watch this File

File Information

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.

Required Products MATLAB
MATLAB release MATLAB 7.14 (R2012a)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (4)
23 Mar 2016 Mike

Mike (view profile)

17 Mar 2016 Jan

Jan (view profile)

16 Jun 2014 Pot

Pot (view profile)

28 Jun 2013 Bing Xu

Contact us