MATLAB: How to automatically retrieve saved files from a worker in the client session using Distributed Compputing Toolbox

clientfilefilesgetgetalloutputargumentsMATLAB Parallel ServerParallel Computing Toolboxretrievesaveworker

In my distributed task functions, I am using SAVE to save the worker's workspace variables. When using the job manager, these files are saved by default in the temporary checkpoint directory for each worker.
I would like to have these files automatically retrieved when the job is completed.

Best Answer

The ability to automatically retrieve saved files from workers is not available in Distributed Computing Toolbox.
The best approach to have the client access these files is to have the workers save files on a shared file system that is accessible to your client machine. In this way, the client can read the files once the job has reached completion.