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 (2024). Batch Job (https://github.com/ojwoodford/batch_job), GitHub. 取得済み .
MATLAB リリースの互換性
プラットフォームの互換性
Windows macOS Linuxカテゴリ
タグ
謝辞
ヒントを得たファイル: 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!