waitwaitbar

版本 1.0.0.0 (2.1 KB) 作者: Peder Axensten
Creates a waitbar that only shows after delay seconds.
2.1K 次下载
更新时间 2006/9/11

查看许可证

This macro has been replaced by 'waitbar alternative':
http://www.mathworks.com/matlabcentral/fileexchange/loadFile.do?objectId=11398&objectType=FILE

Usage: handle= waitwaitbar('title', delay, )

Creates a waitbar that only shows after a delay -- or never if the waitbar is closed before the delay is up.

If you find any errors, please let me know! (peder at axensten dot se)

title: (default: '') The string in the waitbar.

delay: (default: 5) Delay in seconds (0 <= delay <= 60) before waitbar is shown.

EXAMPLE:
h= waitwaitbar('Please wait...');
for i= 1:50
waitbar(i/50);
pause(0.2);
end
close(h);

NOTE: waitwaitbar('My title', 0, ...) is the same as waitbar(0, 'My title', ...).

HISTORY:
Version 1.0, 2006-04-19.
Version 1.1, 2006-06-06:
- Now works on Matlab 6.5.1 (R13SP1), probably on older versions too.

引用格式

Peder Axensten (2024). waitwaitbar (https://www.mathworks.com/matlabcentral/fileexchange/10795-waitwaitbar), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R13SP1
兼容任何版本
平台兼容性
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.0.0.0

This macro has been replaced by 'waitbar alternative': http://www.mathworks.com/matlabcentral/fileexchange/loadFile.do?objectId=11398&objectType=FILE