Parallel pool of workers
Use parpool
to create a parallel pool. After you create the
pool, parallel pool features, such as parfor
or
parfeval
, run on the workers. With the parallel.Pool
object, you can interact with the parallel pool.
parallel.Pool
is the base class for the following types of pools:
Create a parallel pool of workers by using the parpool
function.