User`s guide
11 Functions — Alphabetical List
11-238
Example: c = parcluster();
Name-Value Pair Arguments
Specify optional comma-separated pairs of Name,Value arguments. Name is the
argument name and Value is the corresponding value. Name must appear inside single
quotes (' '). You can specify several name and value pair arguments in any order as
Name1,Value1,...,NameN,ValueN.
Example: 'AttachedFiles',{'myFun.m'}
'AttachedFiles' — Files to attach to pool
string or cell array of strings
Files to attach to pool, specified as a string or cell array of strings.
With this argument pair, parpool starts a parallel pool and passes the identified files
to the workers in the pool. The files specified here are appended to the AttachedFiles
property specified in the applicable parallel profile to form the complete list of attached
files. The 'AttachedFiles' property name is case sensitive, and must appear as
shown.
Example: {'myFun.m','myFun2.m'}
Data Types: char | cell
'SpmdEnabled' — Indication if pool is enabled to support SPMD
true (default) | false
Indication if pool is enabled to support SPMD, specified as a logical. You can disable
support only on a local or MJS cluster. Because parfor iterations do not involve
interworker communication, disabling SPMD support this way allows the parallel pool to
keep evaluating a parfor-loop even if one or more workers aborts during loop execution.
Data Types: logical
Output Arguments
poolobj — Access to parallel pool from client
parallel.Pool object
Access to parallel pool from client, returned as a parallel.Pool object.