Busy Dialog
by Kesh Ikuma
04 Dec 2008
(Updated 05 Dec 2008)
A modal dialog that displays a busy message during program execution.
|
Watch this File
|
| File Information |
| Description |
H = BUSYBAR('message', property, value, property, value, ...) creates and displays a dialog box displaying 'message'. The handle to the waitbar figure is returned in H. Optional arguments property and value allow to set corresponding waitbar figure properties.
The dialog window is not closable, and it should be closed in the calling program by executing delete(H). As an "emergency" alternative, the dialog can be closed forcibly by pressing ctrl-c. To avoid such situation, the use of TRY-CATCH block is recommended (as shown below).
Example:
h = busybar('Please wait...','My Program');
try
% computation here %
catch
delete(h);
end
delete(h);
|
| MATLAB release |
MATLAB 7.7 (R2008b)
|
|
Tags for This File
|
| Everyone's Tags |
|
| Tags I've Applied |
|
| Add New Tags |
Please login to tag files.
|
| Comments and Ratings (2) |
| 07 Dec 2008 |
dewi
|
|
|
| 06 Jul 2010 |
G. F.
|
|
|
| Updates |
| 05 Dec 2008 |
Corrected inconsistency in the help text. |
|
Contact us at files@mathworks.com