parwaitbar

Matlab waitbar compatible with parfor.

https://github.com/oliviertrottier/parwaitbar

您现在正在关注此提交

parwaitbar is a Matlab class that displays a progress bar compatible with for/parfor loops.

If parallel.pool.DataQueue is available, parwaitbar uses the queue to update the waitbar asynchronously.

If parallel.pool.DataQueue is unavailable, parwaitbar creates a temporary text file, saved in the current folder, to communicate information between workers. The file is deleted when the last task is completed.

Basic usage:
N = 100;
wb = parwaitbar(N);
parfor i=1:N
...
wb.progress();
end

See the Github repository for more detailed instructions on how to customize the waitbar.

I don't have a Windows machine at hand to test its compatibility. If you can succesfully test it on a Windows system, I'll be happy to update the platform compatibility.

引用格式

Olivier Trottier (2026). parwaitbar (https://github.com/oliviertrottier/parwaitbar), GitHub. 检索时间: .

类别

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

MATLAB 版本兼容性

  • 兼容任何版本

平台兼容性

  • Windows
  • macOS
  • Linux

无法下载基于 GitHub 默认分支的版本

版本 已发布 发行说明 Action
1.0.0

要查看或报告此来自 GitHub 的附加功能中的问题,请访问其 GitHub 存储库
要查看或报告此来自 GitHub 的附加功能中的问题,请访问其 GitHub 存储库