Setting up Matlab to run parfor
1 回表示 (過去 30 日間)
古いコメントを表示
I would like to set up my matlab code to run parfor on 4 cores on my computer but on the bottom left of my Matlab there is no option or icon to click to set this option. Is there settings to either my computer or Matlab to allow me access to use parfor?
Thanks.
0 件のコメント
回答 (1 件)
Benjamin Thompson
2022 年 1 月 28 日
Do you have the Parallel Computing Toolbox installed? That is required. Then, parfor has an argument for choosing a smaller number of cores than the default if that is what you want.
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Loops and Conditional Statements についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!