updateAttachedFiles - Update attached files or folders on parallel pool - MATLAB (original) (raw)
Main Content
Update attached files or folders on parallel pool
Syntax
Description
updateAttachedFiles([poolobj](#btye7vh-1-poolobj))
checks all the attached files of the specified parallel pool to see if they have changed, and replicates any changes to each of the workers in the pool. This checks files that were attached (by a profile or parpool
argument) when the pool was started and those subsequently attached with the addAttachedFiles
command.
Examples
Update all attached files on the current parallel pool.
poolobj = gcp; updateAttachedFiles(poolobj)
Input Arguments
Parallel pool, specified as a parallel.ProcessPool
orparallel.ClusterPool
object.
To create a process pool or cluster pool, use parpool.
Example: poolobj = parpool('Processes');
Version History
Introduced in R2013b