timed waitbar

版本 1.0.0.0 (1.3 KB) 作者: Aslak Grinsted
A progress bar in a single line of code with ETA
303.0 次下载
更新时间 2016/4/8

查看许可证

waitbar with ETA, Estimated Time of Arrival...
Usage: h=timedwaitbar(fraction_complete[,infostring])
Fraction: is a number between 0 and 1. a value of 1 means completed and closes the window.
h: window handle.

some nice features:
* Estimates how much time before completion.
* Automatically open and close the waitbar window.
- It closes the window when fraction reaches 1
* You can abort the program by closing the progressbar

example use:

for ii=1:1000
timedwaitbar(ii/1000)
q=isprime(ii+1000:10000);
end

引用格式

Aslak Grinsted (2024). timed waitbar (https://www.mathworks.com/matlabcentral/fileexchange/32413-timed-waitbar), MATLAB Central File Exchange. 检索来源 .

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

fixed bugs, changed appearance