parfor and nested loop
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
hi,
can I use parfor with nested loop?
for ex.
parfor i=1:5
for j=1:2
%%whatever
end
end
should I use par with each for or with one.
please, I need somebody can solve my problem.
Thanks in advance
0 commentaires
Réponses (2)
Mischa Kim
le 23 Jan 2014
Hello huda, there are no nested parfor loops. Parallelization with parfor only works on the outermost loop.
Voir également
Catégories
En savoir plus sur Loops and Conditional Statements dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!