Matlab workers in Parloop are not using the path order
Mostrar comentarios más antiguos
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 comentarios
Kirby Fears
el 25 de En. de 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
el 26 de En. de 2017
Adam
el 2 de Feb. de 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
el 29 de En. de 2026
Movida: Walter Roberson
el 29 de En. de 2026
I am using R2024b, still have the problem.
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Parallel Computing Fundamentals en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!