matlab-progress-bar
A simple progress bar for MATLAB.
Please ensure that the progressbar.m file is located within your MATLAB path. The following is an example demonstrating its usage:
for i = 1:100
progressbar(i, 100); % i is the current iteration, 100 is the total number of iterations
pause(0.1); % pause can be replaced with your code
endI couldn't find a simple progress bar for MATLAB that I could integrate easily into my scripts, so I wrote one. It's simple, and it works.
Instead of waitbar, which blocks the MATLAB window, this progress bar is displayed in the command window, and it doesn't block the execution of the script.
Cite As
Kowyo (2025). matlab-progress-bar (https://github.com/kowyo/matlab-progress-bar), GitHub. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxTags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Versions that use the GitHub default branch cannot be downloaded
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0 |
|

