User`s guide
pctconfig
11-243
pctconfig
Configure settings for Parallel Computing Toolbox client session
Syntax
pctconfig('p1', v1, ...)
config = pctconfig('p1', v1, ...)
config = pctconfig()
Arguments
p1 Property to configure. Supported properties are 'portrange',
'hostname'.
v1 Value for corresponding property.
config Structure of configuration value.
Description
pctconfig('p1', v1, ...) sets the client configuration property p1 with the value
v1.
Note that the property value pairs can be in any format supported by the set function,
i.e., param-value string pairs, structures, and param-value cell array pairs. If a structure
is used, the structure field names are the property names and the field values specify the
property values.
If the property is 'portrange', the specified value is used to set the range of ports to
be used by the client session of Parallel Computing Toolbox software. This is useful in
environments with a limited choice of ports. The value of 'portrange' should either
be a 2-element vector [minport, maxport] specifying the range, or 0 to specify that
the client session should use ephemeral ports. By default, the client session searches
for available ports to communicate with the other sessions of MATLAB Distributed
Computing Server software.