This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.


Access parallel pool


parpool, gcp


A parallel.Pool object provides access to a parallel pool running on a cluster.


A parallel pool object has the following methods.

addAttachedFilesAttach files or folders to parallel pool
delete (Pool)Shut down parallel pool
listAutoAttachedFilesList of files automatically attached to job, task, or parallel pool
parfevalExecute function asynchronously on parallel pool worker
parfevalOnAllExecute function asynchronously on all workers in parallel pool
ticBytes Start counting bytes transferred within parallel pool
tocBytes Read how many bytes have been transferred since calling ticBytes
updateAttachedFilesUpdate attached files or folders on parallel pool


A parallel pool object has the following properties.

AttachedFilesFiles and folders that are sent to workers
ClusterCluster on which the parallel pool is running
ConnectedFalse if the parallel pool has shut down
FevalQueueQueue of FevalFutures to run on the parallel pool
IdleTimeoutTime duration in minutes before idle parallel pool will shut down
NumWorkersNumber of workers comprising the parallel pool
SpmdEnabledIndication if pool can run SPMD code


To get further help on parallel.Pool objects, including a list of links to help for specific properties, type:

help parallel.Pool

Introduced in R2013b

Was this topic helpful?