User`s guide

11 Functions — Alphabetical List
11-236
parpool( ___ ,Name,Value) applies the specified values for certain properties when
starting the pool.
poolobj = parpool( ___ ) returns a parallel.Pool object to the client workspace
representing the pool on the cluster. You can use the pool object to programmatically
delete the pool or to access its properties.
Examples
Create Pool from Default Profile
Start a parallel pool using the default profile to define the number of workers.
parpool
Create Pool from Specified Profile
Start a parallel pool of 16 workers using a profile called myProf.
parpool('myProf',16)
Create Pool from Local Profile
Start a parallel pool of 2 workers using the local profile.
parpool('local',2)
Create Pool on Specified Cluster
Create an object representing the cluster identified by the default profile, and use that
cluster object to start a parallel pool. The pool size is determined by the default profile.
c = parcluster
parpool(c)
Create Pool and Attach Files
Start a parallel pool with the default profile, and pass two code files to the workers.
parpool('AttachedFiles',{'mod1.m','mod2.m'})