Batch Job
This toolbox consists of several functions for spreading work over multiple MATLAB instances.
If you have a for loop which can be written something like:
for a = 1:size(input, 2)
output(:,a) = func(input(:,a), global_data);
end
then the functions in this toolbox can be used to split the for loop iterations across multiple MATLAB instances, including across multiple computing nodes/computers. This is a replacement for parfor in this use case, if you don't have the Parallel Computing Toolbox.
For the toolbox to work, its root directory needs to be on your MATLAB path at startup.
See the README at:
https://github.com/ojwoodford/batch_job/blob/master/README.md
for more information.
These functions are in beta testing. If you have any bug reports or fixes, please raise a github issue.
Cite As
Oliver Woodford (2024). Batch Job (https://github.com/ojwoodford/batch_job), GitHub. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Acknowledgements
Inspired by: Multicore - Parallel processing on multiple cores
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.