File Exchange

image thumbnail

Another ASCII Progress Bar

version 1.0.0.0 (2.39 KB) by Wolfgang Putschögl
An ASCII progress bar.

1 Download

Updated 26 Jul 2006

View License

This is an ASCII progress bar. It also displays the remaining and elapsed time. Due to the object-oriented implementation it is very easy to use.

Cite As

Wolfgang Putschögl (2021). Another ASCII Progress Bar (https://www.mathworks.com/matlabcentral/fileexchange/11796-another-ascii-progress-bar), MATLAB Central File Exchange. Retrieved .

Comments and Ratings (2)

kasim tasdemir

Hi,

I use 'dispstat' function just for this purpose. It can update the previous output which is a missing function of default 'disp'. Very simple to use. It can be downloaded from here:

http://www.mathworks.com/matlabcentral/fileexchange/44673

***Sample usage:
dispstat('','init'); % One time only initialization
dispstat(sprintf('Begining the process...'),'keepthis','timestamp');
for i = 97:100
dispstat(sprintf('Progress %d%%',i),'timestamp');
%doing some heavy stuff here
end
dispstat('Finished.','keepprev');

***Output:
11:25:37 Begining the process...
11:25:37 Progress 100%
Finished.

All the best,
Kasim Tasdemir

Rashed

Thanks.

MATLAB Release Compatibility
Created with R2006a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Acknowledgements

Inspired by: ASCII Progress Bar

Community Treasure Hunt

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

Start Hunting!