Progress monitor (progress bar) that works with parfor

Displays the percentage of parfor iterations which have completed.

Vous suivez désormais cette soumission

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

Citation pour cette source

Jeremy (2026). Progress monitor (progress bar) that works with parfor (https://fr.mathworks.com/matlabcentral/fileexchange/32101-progress-monitor-progress-bar-that-works-with-parfor), MATLAB Central File Exchange. Extrait(e) le .

Informations générales

Compatibilité avec les versions de MATLAB

  • Compatible avec toutes les versions

Plateformes compatibles

  • Windows
  • macOS
  • Linux
Version Publié le Notes de version Action
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