Busy Dialog

版本 1.1.0.0 (2.0 KB) 作者: Kesh Ikuma
A modal dialog that displays a busy message during program execution.
1.2K 次下载
更新时间 2008/12/5

查看许可证

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);

引用格式

Kesh Ikuma (2024). Busy Dialog (https://www.mathworks.com/matlabcentral/fileexchange/22324-busy-dialog), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2008b
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Dialog Boxes 的更多信息
标签 添加标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
版本 已发布 发行说明
1.1.0.0

Corrected inconsistency in the help text.

1.0.0.0