Console/Text Wait Bar

Version 1.0.4 (1.75 KB) by Amal Joy
A wait bar that displays on the MATLAB console
7 Downloads
Updated 12 Sep 2021

View License

cwbar.m - a command line waitbar
usage:
Initalize the bar:
cwbar(startmsg); % where startmsg is any string not starting
% with '!', startmsg will appear before the bar
Update the bar in a loop:
cwbar(p); % where p is a number from 0 to 1
Finalize the bar
cwbar(endmsg); % where endmsg is any string starting with '!'.
% endmsg(2:end) will appear after the bar followed
% by a new line
Date : 09/10/2021
Author: Amal Joy

Cite As

Amal Joy (2024). Console/Text Wait Bar (https://www.mathworks.com/matlabcentral/fileexchange/99054-console-text-wait-bar), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2021a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.4

Image changed

1.0.3

Updated Image

1.0.2

Image changed and non-functional code changes

1.0.1

Added thumbnail image

1.0.0