ProcessPool
Parallel pool of process workers on the local machine
Description
Use parpool
to create a parallel pool of process workers on
your local machine. After you create the pool, parallel pool features, such as
parfor
or parfeval
, run on the workers. With the
ProcessPool
object, you can interact with the parallel pool.
Creation
There are several ways to a ProcessPool
object.
Properties
Object Functions
addAttachedFiles | Attach files or folders to parallel pool |
Composite | Create and access nondistributed variables on multiple workers from client |
delete | Shut down parallel pool |
listAutoAttachedFiles | List of files automatically attached to job, task, or parallel pool |
parfeval | Run function on parallel pool worker |
parfevalOnAll | Run function asynchronously on all workers in parallel pool |
partition | Partition parallel pool |
parforOptions | Options set for parfor |
ticBytes | Start counting bytes transferred within parallel pool |
tocBytes | Read how many bytes have been transferred since calling
ticBytes |
updateAttachedFiles | Update attached files or folders on parallel pool |
spmd | Execute code in parallel on workers of parallel pool |