User manual

1 Introduction
Using Distributed Computing Toolbox
A typical Distributed Computing Toolbox client session includes the following
steps:
1 Find a Job Manager (or scheduler) Your network may have one or more
job manage r s availabl e (bu t usually only one scheduler) . The function you
usetofindajobmanagerorscheduler creates an object in your current
MATLAB ses sio n to represent the job manager or sche duler that will run
your job.
2 Create a Job You create a job to hold a collection of tasks. The jo b exists
on the job manager (or scheduler’s data location), but a job object in the
local MATLAB session represents that job.
3 Create Tasks
You create tasks to add to the job. Each task of a job can be
represented
by a task object in your local M ATLAB session.
4 Submit a Job to the Job Queue for Execution When your job has all its
tasks defined, you submit it to the queue in the job manager or scheduler.
Thejobmanagerorschedulerdistributes your job’s tasks to the worker
sessions for evaluation. When all of the workers are completed w ith the
job’s tasks, the job moves to the finished state.
5 Retrieve the Job’s Results The resulting data from the evaluation of the
job is available as a property value of each task object.
6 Destroy th
e Job When the job is co m plete and all its results a re gathered,
you can des
troy the job to free memory resources.
1-8