File Exchange

image thumbnail

Text progress bar (CLI & GUI)

version 1.3.0.0 (2.6 KB) by Girmi Schouten
Generates a progressbar for display in the MATLAB command window or CLI

4 Downloads

Updated 13 Dec 2019

View Version History

View License

This function generates a textual bar which visualizes the progress of a task. Consecutive progress bars overwrite the previous instance instead of outputting on a new line, making updates seamless.
The number of segments as well as the characters which make up the progress bar (delimiters, completed, ...) are fully customizable.
Works for both GUI and CLI instances of MATLAB.

Cite As

Girmi Schouten (2021). Text progress bar (CLI & GUI) (https://www.mathworks.com/matlabcentral/fileexchange/66270-text-progress-bar-cli-gui), MATLAB Central File Exchange. Retrieved .

Comments and Ratings (6)

Girmi Schouten

@prasanth s
Examples are included in the header of the file.

Robin Kerstens

Erik Verreycken

Very nice explanation in the comments

prasanth s

nice. please include a demo script. so anyone can easily understand.

Chang hsiung

wow, great submission !!!

Robin Kerstens

This is by far THE. BEST. cli waitbar. Search no further.

MATLAB Release Compatibility
Created with R2019b
Compatible with R2016b and later releases
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!