Matlab workers in Parloop are not using the path order
Ältere Kommentare anzeigen
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 Kommentare
Kirby Fears
am 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
am 26 Jan. 2017
Adam
am 2 Feb. 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
am 29 Jan. 2026
Verschoben: Walter Roberson
am 29 Jan. 2026
I am using R2024b, still have the problem.
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Parallel Computing Fundamentals finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!