ASCII ProgresBar (included elapsed/estimated time)
Uses the command window to show a progress bar, plus how long the computation has taken, and the estimated time remaining. All on one line, so there's less flicker.
Example:
steps = 500;
progbar = progressBar(steps,'Rendering');
for tmp = 1:steps
progbar(tmp);
pause(.01)
end
Would probably work all the way back to matlab 6.5 if it didn't use multi-line comments in the description.
Cite As
Alan Robinson (2024). ASCII ProgresBar (included elapsed/estimated time) (https://www.mathworks.com/matlabcentral/fileexchange/39513-ascii-progresbar-included-elapsed-estimated-time), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
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.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |