How to switch between parfor and for based on if you have the Parallel Computing Toolbox

7 visualizzazioni (ultimi 30 giorni)
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?

Risposta accettata

Walter Roberson
Walter Roberson il 8 Set 2015
If there is no PCT installed then parfor is accepted but will operate as a for.

Più risposte (0)

Categorie

Scopri di più su Parallel Computing in Help Center e File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by