waitwaitbar

Creates a waitbar that only shows after delay seconds.
2.1K Downloads
Updated 11 Sep 2006

View License

This macro has been replaced by 'waitbar alternative':
http://www.mathworks.com/matlabcentral/fileexchange/loadFile.do?objectId=11398&objectType=FILE

Usage: handle= waitwaitbar('title', delay, )

Creates a waitbar that only shows after a delay -- or never if the waitbar is closed before the delay is up.

If you find any errors, please let me know! (peder at axensten dot se)

title: (default: '') The string in the waitbar.

delay: (default: 5) Delay in seconds (0 <= delay <= 60) before waitbar is shown.

EXAMPLE:
h= waitwaitbar('Please wait...');
for i= 1:50
waitbar(i/50);
pause(0.2);
end
close(h);

NOTE: waitwaitbar('My title', 0, ...) is the same as waitbar(0, 'My title', ...).

HISTORY:
Version 1.0, 2006-04-19.
Version 1.1, 2006-06-06:
- Now works on Matlab 6.5.1 (R13SP1), probably on older versions too.

Cite As

Peder Axensten (2024). waitwaitbar (https://www.mathworks.com/matlabcentral/fileexchange/10795-waitwaitbar), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R13SP1
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Dialog Boxes in Help Center and MATLAB Answers

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.0.0

This macro has been replaced by 'waitbar alternative': http://www.mathworks.com/matlabcentral/fileexchange/loadFile.do?objectId=11398&objectType=FILE