User`s guide

6 Programming Overview
6-30
Typical Use Cases
The Job Monitor lets you accomplish many different goals pertaining to job tracking and
queue management. Using the Job Monitor, you can:
Discover and monitor all jobs submitted by a particular user
Determine the status of a job
Determine the cause of errors in a job
Delete old jobs you no longer need
Create a job object in MATLAB for access to a particular job in the queue
Manage Jobs Using the Job Monitor
Using the Job Monitor you can manage the listed jobs for your cluster. Right-click on
any job in the list, and select any of the following options from the context menu. The
available options depend on the type of job.
Cancel — Stops a running job and changes its state to 'finished'. If the job is
pending or queued, the state changes to 'finished' without its ever running. This is
the same as the command-line cancel function for the job.
Delete — Deletes the job data and removes the job from the queue. This is the
same as the command-line delete function for the job. Also closes and deletes an
interactive pool job.
Show details — This displays detailed information about the job in the Command
Window.
Show errors — This displays all the tasks that generated an error in that job, with
their error properties.
Fetch outputs — This collects all the task output arguments from the job into the
client workspace.
Identify Task Errors Using the Job Monitor
Because the Job Monitor indicates if a job had a run-time error, you can use it to
identify the tasks that generated the errors in that job. For example, the following script
generates an error because it attempts to perform a matrix inverse on a vector:
A = [2 4 6 8];
B = inv(A);