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.8K
업데이트 날짜: 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