progress bar

This function print on your command window a handmade progress bar.
1.2K 次下载
更新时间 2009/5/12

查看许可证

If you have a time consuming loop, you can measure the time to end with this function. The only thing you have to know is the total number of loops to do.
For instance if you use:
>>for j = 1:10^6
>>statement;
>>progress_bar(j, 10^6);
>>end
you get the same result in screenshot.

引用格式

Giuliano Langella (2024). progress bar (https://www.mathworks.com/matlabcentral/fileexchange/23892-progress-bar), MATLAB Central File Exchange. 检索来源 .

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

A third optional input parameter is added. it is useful if embedding the progress_bar function within another function in order to visualize for instance its name (e.g. see screenshot).

1.0.0.0