Main Content
ProcessPool
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
Create a parallel pool of process workers on the local machine by using the parpool
function.
pool = parpool('Processes')
Properties
Object Functions
addAttachedFiles | Attach files or folders to parallel pool |
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 |
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 |