View License

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Highlights from
timed waitbar

Join the 15-year community celebration.

Play games and win prizes!

» Learn more

Be the first to rate this file! 6 Downloads (last 30 days) File Size: 1.31 KB File ID: #32413 Version: 1.0
image thumbnail

timed waitbar


Aslak Grinsted (view profile)


03 Aug 2011 (Updated )

A progress bar in a single line of code with ETA

| Watch this File

File Information

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

MATLAB release MATLAB 8.1 (R2013a)
MATLAB Search Path
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
08 Apr 2016 1.0

fixed bugs, changed appearance

Contact us