AWAITBAR 1.0

Operating systemsOS : Windows / Linux / Mac OS / BSD / Solaris
Program licensingScript Licensing : Freeware
CreatedCreated : Oct 9, 2007
Size downloadDownloads : 1
Program licensing
Thank you for voting...

WAITBAR Display progress bar with abort button and ...

WAITBAR Display progress bar with abort button and upon clicking on the abourt button or the close figure button will abort the process and close the waitbar
USAGE:
H = awaitbar by Durga Lal Shrestha(x, message):
creates and displays a waitbar of fractional length X with the message text in the waitbar figure. The handle to the waitbar figure is returned in H. x should be between 0 and 1.
H = AWAITBAR 1.0(x, message, figTitle):
displays text in the figure title
H = AWAITBAR [awaitbar1.0.exe](x, message, figTitle, figPosition):
figure is positioned according to the value specified in figPosition
AWAITBAR - 0MB(x): update in the most recently created waitbar window
AWAITBAR 1.0(x, H): update in waitbar H
awaitbar(x, H, message): will update the message text in the waitbar figure,
awaitbar(x, H, message, figTitle): will update the title text in the waitbar figure,
hh = awaitbar(x, H, . . . . ): if the output is assigned to the variable 'hh',
then when the waitbar figure is closed by clicking close button, then
the loop process will be aborted. (See example below)
FEATURES
1. Abort button to abort the process and close the waitbar figure.
1. It stays on top of other figures. % Thanks to Peder Axensten(11398).
2. Only one waitbar window, so no old ones left around. Thanks to Peder Axensten(11398).
5. Elapsed time and Estimated Remaining time are shown in the figure.
6. Update of the progress is also shown in the figure title.
7. User defined figure position
EXAMPLES:
abort = false; % This initialisation is needed to use abort the process.
% Please do not change variable name "abort" otherwise
% "abort" button will not work
h = awaitbar(0, 'Running Monte-Carlo, please wait. . . ');
for i=1:100,
pause(0. 2); % Do some computational stuff
hh=awaitbar(i/100, h, 'Running the process', 'Progress');
% asssign the ouput to the variable "hh"
% in order to abort the process by closing
% the waitbar figure
if abort; close(h); break; end % Abort the process by clicking abort button
if isempty(hh); break; end % Break the process when closing the figure

AWAITBAR 1.0 scripting tags: awaitbar, abort, update, development tools, awaitbar tools, button, matlab awaitbar, text, process, figure. What is new in AWAITBAR 1.0 software script? - Unable to find AWAITBAR 1.0 news. What is improvements are expecting? Newly-made AWAITBAR 1.1 will be downloaded from here. You may download directly. Please write the reviews of the AWAITBAR. License limitations are unspecified.