How to switch between parfor and for based on if you have the Parallel Computing Toolbox
3 ビュー (過去 30 日間)
古いコメントを表示
How can you automatically switch between parfor and for based on if you have the Parallel Computing Toolbox without copying the code within the for loop?
0 件のコメント
採用された回答
Walter Roberson
2015 年 9 月 8 日
If there is no PCT installed then parfor is accepted but will operate as a for.
0 件のコメント
その他の回答 (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!