MATLAB: Is there a built-in function to automatically transfer the output files created by a worker to the client system as part of a job using Parallel Computing Toolbox 4.1 (R2009a)

clientfileMATLAB Parallel ServerParallel Computing Toolboxsharedsystemtransferworker

I am using Parallel Computing Toolbox 4.1 (R2009a) to execute tasks on a cluster of workers. Each of the tasks generates MAT files and text files. However, these files are created locally on the workers. I would like to be able to automatically transfer these files back to the client system once the task has completed preferably as part of the FinishedFcn callback.
I would like to know if there is some functionality in Parallel Computing Toolbox to automatically transfer generated result files from the worker to a target directory on the client system. Ideally, this would behave just like job results.

Best Answer

The ability to transfer files automatically from the worker to the client system is not available in the Parallel Computing Toolbox.
To work around this issue, you can try the following:
1. Use the MOVE or COPY command as part of the FinishedFcn callback.
2. Create the files at a location which is accessible to both the workers and the client.