Code covered by the BSD License  

Highlights from
Busy Dialog

4.0

4.0 | 2 ratings Rate this file 3 Downloads (last 30 days) File Size: 1.96 KB File ID: #22324

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

cool

06 Jul 2010 G. F.

Nice..

Please login to add a comment or rating.
Updates
05 Dec 2008

Corrected inconsistency in the help text.

Tag Activity for this File
Tag Applied By Date/Time
gui Cristina McIntire 05 Dec 2008 14:45:37
dialog Cristina McIntire 05 Dec 2008 14:45:37
model Cristina McIntire 05 Dec 2008 14:45:46
dialog Kesh Ikuma 05 Dec 2008 15:27:18
gui Kesh Ikuma 05 Dec 2008 15:27:20
dialog dewi 07 Dec 2008 19:10:35
gui dewi 07 Dec 2008 19:10:43

Contact us at files@mathworks.com