User`s guide

createJob
11-55
createJob
Create independent job on cluster
Syntax
obj = createJob(cluster)
obj = createJob(...,'p1',v1,'p2',v2,...)
job = createJob(...,'Profile','profileName',...)
Arguments
obj The job object.
cluster The cluster object created by parcluster.
p1, p2 Object properties configured at object creation.
v1, v2 Initial values for corresponding object properties.
Description
obj = createJob(cluster) creates an independent job object for the identified
cluster.
The job’s data is stored in the location specified by the cluster’s JobStorageLocation
property.
obj = createJob(...,'p1',v1,'p2',v2,...) creates a job object with the
specified property values. For a listing of the valid properties of the created object, see
the parallel.Job object reference page. The property name must be in the form of a
string, with the value being the appropriate type for that property. In most cases, the
values specified in these property-value pairs override the values in the profile; but when
you specify AttachedFiles or AdditionalPaths at the time of creating a job, the
settings are combined with those specified in the applicable profile. If an invalid property
name or property value is specified, the object will not be created.
job = createJob(...,'Profile','profileName',...) creates an independent
job object with the property values specified in the profile 'profileName'. If a profile