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일
이동: Walter Roberson
2026년 1월 29일
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!