Code covered by the BSD License  

Highlights from
Busy Window

2.0

2.0 | 1 rating Rate this file 12 Downloads (last 30 days) File Size: 34.76 KB File ID: #28534
image thumbnail

Busy Window

by Stiphu

 

23 Aug 2010 (Updated 24 Aug 2010)

Signalize to the User that the Computer is busy

| Watch this File

File Information
Description

For longer operations on your computer, it is practical to inform the user that a calculation is running. For this reason, you can call the 'busyWindow' function. It displays your message to the user.
There are three modes: The busy window with an automatic progress bar, with a manual progress bar and without a progress bar.
If you call the busy window in the 'progressA' mode, a progress bar is shown. The progress bar updates every second, calling a timer which increases the progress for 10%. Because you don't know how long the calculation takes, the progress bar restarts after it is reaching it's 100% end (every ten seconds).
If you call the busy window in the 'progressM' mode, there is also a progress bar shown. But now you have to update the progress manually, similar to the Matlab function 'waitbar'.
When the calculation is finished, you have to remove the busy window manually.
For further information and examples, type 'help busyWindow'.

MATLAB release MATLAB 7.10 (2010a)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (2)
14 Oct 2011 Igor

This function uses "eval()" , which is incompatible with matlab compiler.
It also results in error, if previous execution was interrupted, and Busy Window was not manually closed.

13 Mar 2012 Christian

Wonderful, it is what I was searching for!

Please login to add a comment or rating.
Updates
24 Aug 2010

The 'progress' mode is now called 'progressA'. Manual progress mode added, called 'progressM'.

Tag Activity for this File
Tag Applied By Date/Time
progress bar Stiphu 23 Aug 2010 11:22:49
progress Stiphu 23 Aug 2010 11:22:49
busy Stiphu 23 Aug 2010 11:22:49
window Stiphu 23 Aug 2010 11:22:49
waitbar Yair Altman 23 Apr 2012 04:53:05

Contact us at files@mathworks.com