Skip to Main Content Skip to Search
Product Documentation

Using Parallel Computing Toolbox Software

A typical Parallel Computing Toolbox client session includes the following steps:

  1. Find a cluster — Your network may have one or more MJS available (but usually only one scheduler). The function you use to find an MJS or scheduler creates an object in your current MATLAB session to represent the MJS or scheduler that will run your job.

  2. Create a Job — You create a job to hold a collection of tasks. The job exists on the MJS (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 MATLAB 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 MJS or scheduler. The MJS or scheduler distributes your job's tasks to the worker sessions for evaluation. When all of the workers are completed with 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 the Job — When the job is complete and all its results are gathered, you can destroy the job to free memory resources.

  


Free Parallel Computing Interactive Kit

See how to solve large problems with minimal effort and reduce simulation time.

Get free kit

Trials Available

Try the latest versions of parallel computing products.

Get trial software
 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS