Progress monitor (progress bar) that works with parfor

バージョン 1.2.0.0 (2.21 KB) 作成者: Jeremy
Displays the percentage of parfor iterations which have completed.
ダウンロード: 10.5K
更新 2011/10/25

ライセンスの表示

Monitoring the progress of a long-running parfor loop is not straightforward because the workers cannot communicate. This function gets around that limitation by storing the progress in a text file.

Example usage:

N = 100;
parfor_progress(N); % Initialize
parfor i=1:N
pause(rand); % Replace with real code
parfor_progress; % Count
end
parfor_progress(0); % Clean up

引用

Jeremy (2024). Progress monitor (progress bar) that works with parfor (https://www.mathworks.com/matlabcentral/fileexchange/32101-progress-monitor-progress-bar-that-works-with-parfor), MATLAB Central File Exchange. 取得済み .

MATLAB リリースの互換性
作成: R2010a
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
バージョン 公開済み リリース ノート
1.2.0.0

It now displays a real (and pretty) progress bar.

1.1.0.0

Slightly simplified the function.

1.0.0.0