waitwaitbar

Creates a waitbar that only shows after delay seconds.

您现在正在关注此提交

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 (2026). waitwaitbar (https://ww2.mathworks.cn/matlabcentral/fileexchange/10795-waitwaitbar), MATLAB Central File Exchange. 检索时间: .

类别

Help CenterMATLAB Answers 中查找有关 App Building 的更多信息

一般信息

MATLAB 版本兼容性

  • 兼容任何版本

平台兼容性

  • Windows
  • macOS
  • Linux
版本 已发布 发行说明 Action
1.0.0.0

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