Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
5011cem-2021/Readme.md
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
31 lines (21 sloc)
1.06 KB
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Parfor progress monitor | |
<img align="right" src="https://github.com/DylanMuir/ParforProgMon/raw/master/progress_bar.png" /> | |
## A Java-based `Matlab` class for progress monitoring during a `parfor` loop | |
### 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 | |
### Credits | |
[Parfor Progress monitor](https://www.mathworks.com/matlabcentral/fileexchange/24594-parfor-progress-monitor) | |
[Parfor Progress monitor v2](https://www.mathworks.com/matlabcentral/fileexchange/31673-parfor-progress-monitor-v2) |