How to switch between parfor and for based on if you have the Parallel Computing Toolbox
8 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Sonoma Rich
il 8 Set 2015
Risposto: Walter Roberson
il 8 Set 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 Commenti
Risposta accettata
Walter Roberson
il 8 Set 2015
If there is no PCT installed then parfor is accepted but will operate as a for.
0 Commenti
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Loops and Conditional Statements in Help Center e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!