Skip to Main Content Skip to Search
Product Documentation

Name - Name of job manager, job, or worker object

Description

The descriptive name of a job manager or worker is set when its service is started, as described in "Customizing Engine Services" in the MATLAB Distributed Computing Server System Administrator's Guide. This is reflected in the Name property of the object that represents the service. You can use the name of the job manager or worker service to search for the particular service when creating an object with the findResource function.

You can configure Name as a descriptive name for a job object at any time before the job is submitted to the queue.

Characteristics

Usage

Job manager object, job object, or worker object

Read-only

Always for a job manager or worker object; after job object is submitted

Data type

String

Values

By default, a job object is constructed with a Name created by concatenating the Name of the job manager with _job.

Examples

Construct a job manager object by searching for the name of the service you want to use.

jm = findResource('scheduler','type','jobmanager', ...
          'Name','MyJobManager');

Construct a job and note its default Name.

j = createJob(jm);
get(j, 'Name')
ans =
    MyJobManager_job

Change the job's Name property and verify the new setting.

set(j,'Name','MyJob')
get(j,'Name')
ans =
    MyJob

See Also

Functions

findResource, createJob

  


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