How to switch between parfor and for based on if you have the Parallel Computing Toolbox
7 views (last 30 days)
Show older comments
Sonoma Rich
on 8 Sep 2015
Answered: Walter Roberson
on 8 Sep 2015
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 Comments
Accepted Answer
Walter Roberson
on 8 Sep 2015
If there is no PCT installed then parfor is accepted but will operate as a for.
0 Comments
More Answers (0)
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!