This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

Job and Task Creation

Create a job and define its tasks


parcluster Create cluster object
batch Run MATLAB script or function on worker
createJob Create independent job on cluster
createCommunicatingJob Create communicating job on cluster
recreate Create new job from existing job
createTask Create new task in job
parallel.defaultClusterProfile Examine or set default cluster profile
parallel.importProfile Import cluster profiles from file
poolStartup File for user-defined options to run on each worker when parallel pool starts
jobStartup File for user-defined options to run when job starts
taskStartup User-defined options to run on worker when task starts
taskFinish User-defined options to run on worker when task finishes
pctconfig Configure settings for Parallel Computing Toolbox client session
mpiLibConf Location of MPI implementation
mpiSettings Configure options for MPI communication


parallel.Cluster Access cluster properties and behaviors
parallel.Future Request function execution on parallel pool workers
parallel.Job Access job properties and behaviors
parallel.Task Access task properties and behaviors

Examples and How To

Program a Job on a Local Cluster

Manually create and run jobs.

Program Independent Jobs

The tasks in an independent job do not directly communicate with each other and are independent.

Program Communicating Jobs

Discover the differences between independent and communicating jobs

Share Code with the Workers

Find out how to pass data and code to and from the workers.

Apply Callbacks to MJS Jobs and Tasks

The MATLAB® job scheduler (MJS) has the ability to trigger callbacks in the client session whenever jobs or tasks in the MJS cluster change to specific states.


How Parallel Computing Products Run a Job

Explore the life cycle of a job.

Programming Tips

Provides helpful hints for good programming practice

Job Monitor

Manage your jobs using the Job Monitor

Control Random Number Streams

By default, each worker in a cluster working on the same job has a unique random number stream.

Was this topic helpful?