ASCII ProgresBar (included elapsed/estimated time)

Prints a graphical progress bar to the console showing percent complete + elapsed and remaining time

You are now following this Submission

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 (2026). ASCII ProgresBar (included elapsed/estimated time) (https://www.mathworks.com/matlabcentral/fileexchange/39513-ascii-progresbar-included-elapsed-estimated-time), MATLAB Central File Exchange. Retrieved .

Categories

Find more on App Building in Help Center and MATLAB Answers

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0