Matlab workers in Parloop are not using the path order
显示 更早的评论
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 个评论
Kirby Fears
2017-1-25
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
2017-1-26
Adam
2018-2-2
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
2026-1-29,19:54
移动:Walter Roberson
2026-1-29,21:40
I am using R2024b, still have the problem.
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Parallel Computing Fundamentals 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!