Matlab workers in Parloop are not using the path order
Afficher commentaires plus anciens
Hello, I'm using this code
parfor k=1:10
[..]=pca(..)
end
I have 2 definitions of pca (the matlab package and another package). I've set the search path to use the matlab package by default, but inside the parloop the other function is used instead. I didn't found a way to arrange this without removing the other package. Thanks
4 commentaires
Kirby Fears
le 25 Jan 2017
Why don't you change your external package to have a different name? That's the most straight forward solution.
How did you modify your path?
Leandro
le 26 Jan 2017
Adam
le 2 Fév 2018
I would have thought if one of them was in a package that you would have to specify it with the package name prepended, which would remove the ambiguity anyway.
Xingwang Yong
le 29 Jan 2026
Déplacé(e) : Walter Roberson
le 29 Jan 2026
I am using R2024b, still have the problem.
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Parallel Computing Fundamentals dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!