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.
引用格式
Oliver Woodford (2026). Batch Job (https://github.com/ojwoodford/batch_job), GitHub. 检索时间: .
