PARFOR progress monitor (progress bar) v3

Progress monitor bar for matlab parfor loops, supports distributed pools
2.1K Downloads
Updated 22 Dec 2017

This progress bar (progress monitor) is designed to monitor progress during the execution of long parfor loops. It works using a Java-based client/server architecture, which means that it supports distributed worker pools (i.e. doesn't only work on local pools).
Usage:
Begin by creating a parallel pool.
Then construct a ParforProgMon object:
ppm = ParforProgMon(strWindowTitle, nNumIterations <, nProgressStepSize, nWidth, nHeight>);

'strWindowTitle' is a string containing the title of the progress bar window. 'nNumIterations' is an integer with the total number of iterations in the loop.

Optional arguments:
'nProgressStepSize' specifies to update the progress bar every time this number of steps passes. 'nWidth' and 'nHeight' specify the size of the progress window.

Within the parfor loop:
parfor (nIndex = 1:nNumIterations)
ppm.increment();
end

Updates over v2:
The class now automatically handles distributing the required code to the workers.

Cite As

Dylan Muir (2024). PARFOR progress monitor (progress bar) v3 (https://github.com/DylanMuir/ParforProgMon), GitHub. Retrieved .

MATLAB Release Compatibility
Created with R2014b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Parallel for-Loops (parfor) in Help Center and MATLAB Answers
Acknowledgements

Inspired: PARFOR progress monitor (progress bar) v4

Community Treasure Hunt

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

Start Hunting!

Versions that use the GitHub default branch cannot be downloaded

Version Published Release Notes
1.0.0.0

Trying to include references to v1 and v2
Updated description

Updated description
Updated description
Updated description
Included an image
Updated description
Updated description
Updated description

To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.