I have a function file in a different path. When I run the following code:
parfor i=1:1, addpath('path-to-function'); testFunction(); rmpath('path-to-function'); end
the function executes fine. However, if I make changes to testFunction.m, these are not seen by the workers until I call "rehash".
Best Answer