How to switch between parfor and for based on if you have the Parallel Computing Toolbox
7 次查看(过去 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 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!