ASCII ProgresBar (included elapsed/estimated time)
版本 1.0.0.0 (1.9 KB) 作者:
Alan Robinson
Prints a graphical progress bar to the console showing percent complete + elapsed and remaining time
Uses the command window to show a progress bar, plus how long the computation has taken, and the estimated time remaining. All on one line, so there's less flicker.
Example:
steps = 500;
progbar = progressBar(steps,'Rendering');
for tmp = 1:steps
progbar(tmp);
pause(.01)
end
Would probably work all the way back to matlab 6.5 if it didn't use multi-line comments in the description.
引用格式
Alan Robinson (2024). ASCII ProgresBar (included elapsed/estimated time) (https://www.mathworks.com/matlabcentral/fileexchange/39513-ascii-progresbar-included-elapsed-estimated-time), MATLAB Central File Exchange. 检索来源 .
MATLAB 版本兼容性
创建方式
R2011a
兼容任何版本
平台兼容性
Windows macOS Linux类别
在 Help Center 和 MATLAB 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 |