How to switch between parfor and for based on if you have the Parallel Computing Toolbox
4 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Sonoma Rich
le 8 Sep 2015
Réponse apportée : Walter Roberson
le 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 commentaires
Réponse acceptée
Walter Roberson
le 8 Sep 2015
If there is no PCT installed then parfor is accepted but will operate as a for.
0 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Loops and Conditional Statements dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!