Parallel pool of thread workers on the local machine
parpool to create a parallel pool of thread workers on
you local machine. After you create the pool, parallel pool features, such as
parfeval, run on the workers. With the
ThreadPool object, you can interact with the parallel
Create a parallel pool of thread workers on the local machine by using the
pool = parpool("threads")
NumWorkers— Number of thread workers comprising the parallel pool
This property is read-only.
Number of thread workers comprising the parallel pool, specified as an integer.
For compatibility with process workers, the following object functions are also supported. You do not need to use them because data and file transfer is not necessary for pools of thread workers.
|Attach files or folders to parallel pool|
|List of files automatically attached to job, task, or parallel pool|
|Start counting bytes transferred within parallel pool|
|Read how many bytes have been transferred since calling |
|Update attached files or folders on parallel pool|