File Exchange

image thumbnail

timed waitbar

version (1.31 KB) by Aslak Grinsted
A progress bar in a single line of code with ETA

1 Download

Updated 08 Apr 2016

View License

waitbar with ETA, Estimated Time of Arrival...
Usage: h=timedwaitbar(fraction_complete[,infostring])
Fraction: is a number between 0 and 1. a value of 1 means completed and closes the window.
h: window handle.

some nice features:
* Estimates how much time before completion.
* Automatically open and close the waitbar window.
- It closes the window when fraction reaches 1
* You can abort the program by closing the progressbar

example use:

for ii=1:1000

Cite As

Aslak Grinsted (2020). timed waitbar (, MATLAB Central File Exchange. Retrieved .

Comments and Ratings (0)


fixed bugs, changed appearance

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