User`s guide
11 Functions — Alphabetical List
11-250
pmode
Interactive Parallel Command Window
Syntax
pmode start
pmode start numworkers
pmode start prof numworkers
pmode quit
pmode exit
pmode client2lab clientvar workers workervar
pmode lab2client workervar worker clientvar
pmode cleanup prof
Description
pmode allows the interactive parallel execution of MATLAB commands. pmode achieves
this by defining and submitting a communicating job, and opening a Parallel Command
Window connected to the workers running the job. The workers then receive commands
entered in the Parallel Command Window, process them, and send the command output
back to the Parallel Command Window. Variables can be transferred between the
MATLAB client and the workers. For more details about program development in pmode
and its interactive features, see “Interactive Parallel Development”.
pmode start starts pmode, using the default profile to define the cluster and number
of workers. (The initial default profile is local; you can change it by using the function
parallel.defaultClusterProfile.) You can also specify the number of workers
using pmode start numworkers.
pmode start prof numworkers starts pmode using the Parallel Computing Toolbox
profile prof to locate the cluster, submits a communicating job with the number of
workers identified by numworkers, and connects the Parallel Command Window
with the workers. If the number of workers is specified, it overrides the minimum and
maximum number of workers specified in the profile.