A tqdm alternative in MATLAB, also a progress bar for any MATLAB program.
You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
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 (2026). matlab-progress-bar (https://github.com/kowyo/matlab-progress-bar), GitHub. Retrieved .
General Information
- Version 1.0.0 (152 KB)
-
View License on GitHub
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
Versions that use the GitHub default branch cannot be downloaded
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.0.0 |
To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.

