Be the first to rate this file! 1 Download (last 30 days) File Size: 2.3 KB File ID: #10795

waitwaitbar

by Peder Axensten

 

19 Apr 2006 (Updated 11 Sep 2006)

Creates a waitbar that only shows after delay seconds.

| Watch this File

File Information
Description

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.

MATLAB release MATLAB 6.5.1 (R13SP1)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Please login to add a comment or rating.
Updates
06 Jun 2006

Now works on Matlab 6.5.1 (R13SP1), probably on older versions too.

11 Sep 2006

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

Tag Activity for this File
Tag Applied By Date/Time
gui tools Peder Axensten 22 Oct 2008 08:22:39
example Peder Axensten 22 Oct 2008 08:22:39
waitbar Peder Axensten 22 Oct 2008 08:22:39
gui Peder Axensten 22 Oct 2008 08:22:39
creates Peder Axensten 22 Oct 2008 08:22:39
shows Peder Axensten 22 Oct 2008 08:22:39
tools Peder Axensten 22 Oct 2008 08:22:39

Contact us at files@mathworks.com