User`s guide

pmode
11-251
pmode quit or pmode exit stops the pmode job, deletes it, and closes the Parallel
Command Window. You can enter this command at the MATLAB prompt or the pmode
prompt.
pmode client2lab clientvar workers workervar copies the variable clientvar
from the MATLAB client to the variable workervar on the workers identified by
workers. If workervar is omitted, the copy is named clientvar. workers can be
either a single index or a vector of indices. You can enter this command at the MATLAB
prompt or the pmode prompt.
pmode lab2client workervar worker clientvar copies the variable workervar
from the worker identified by worker, to the variable clientvar on the MATLAB
client. If clientvar is omitted, the copy is named workervar. You can enter this
command at the MATLAB prompt or the pmode prompt. Note: If you use this command
in an attempt to transfer a codistributed array to the client, you get a warning, and only
the local portion of the array on the specified worker is transferred. To transfer an entire
codistributed array, first use the gather function to assemble the whole array into the
worker workspaces.
pmode cleanup prof deletes all communicating jobs created by pmode for the current
user running on the cluster specified in the profile prof, including jobs that are currently
running. The profile is optional; the default profile is used if none is specified. You can
enter this command at the MATLAB prompt or the pmode prompt.
You can invoke pmode as either a command or a function, so the following are equivalent.
pmode start prof 4
pmode('start', 'prof', 4)
Examples
In the following examples, the pmode prompt (P>>) indicates commands entered in the
Parallel Command Window. Other commands are entered in the MATLAB Command
Window.
Start pmode using the default profile to identify the cluster and number of workers.
pmode start
Start pmode using the local profile with four local workers.