Attach files or folders to parallel pool
attaches files or folders to a parallel pool. The files or folders are immediately
transferred to each worker in the parallel pool.
If you specify files that are already attached to the pool, the files are not updated.
To update attached files, use
Attach Files to Current Parallel Pool
You can use
gcp to add files to the current parallel pool.
addAttachedFiles to attach two files
"myFun2.m" to the current
parallel pool. To get the current parallel pool, use
pool — Parallel pool
Parallel pool to attach files to, specified as a
To create a parallel pool, use
filenames — Files or folders to attach
string scalar | string array | character vector | cell array
Files or folders to attach, specified as a string scalar, string array, character vector, or cell array of character vectors. Each character vector can specify either an absolute or relative path to a file or folder.
If you specify a relative path, the path is relative to the current working directory on the client.
Introduced in R2013b