image thumbnail

progress bar

version 1.1.0.0 (1.79 KB) by Giuliano Langella
This function print on your command window a handmade progress bar.

1.2K Downloads

Updated 12 May 2009

View License

If you have a time consuming loop, you can measure the time to end with this function. The only thing you have to know is the total number of loops to do.
For instance if you use:
>>for j = 1:10^6
>>statement;
>>progress_bar(j, 10^6);
>>end
you get the same result in screenshot.

Cite As

Giuliano Langella (2021). progress bar (https://www.mathworks.com/matlabcentral/fileexchange/23892-progress-bar), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2007a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!