MATLAB: Is it possible to reuse MATLAB files passed to workers as ‘FileDependencies’ without resending them in the Distributed Computing Toolbox

editeditededitorMATLAB Parallel ServerParallel Computing Toolboxrefreshupdate

I submit several jobs which all use the same files. I would like my jobs to share the files which I submit using the 'FileDependencies' parameter without resending them.

Best Answer

The ability to share files passed to the workers using 'FileDependencies' is unavailable with Distributed Computing Toolbox.
To workaround this issue, use the 'PathDependencies' property of the job.
To get help on 'PathDependencies' execute the following command at the MATLAB prompt:
doc PathDependencies