waitwaitbar

Creates a waitbar that only shows after delay seconds.
2,1K Downloads
Aktualisiert 11. Sep 2006

Lizenz anzeigen

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.

Zitieren als

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

Kompatibilität der MATLAB-Version
Erstellt mit R13SP1
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS Linux
Kategorien
Mehr zu Dialog Boxes finden Sie in Help Center und MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Veröffentlicht Versionshinweise
1.0.0.0

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