findJob
Find job objects stored in cluster
Syntax
Description
returns an array, objArray
= findJob(cluster
,propertyName
,propertyValue
)objArray
, of job objects that have a property called
propertyName
with a value of propertyValue
. See
parallel.Job
for a list of job
properties.
For a match, the object property value must be exactly the same as specified, including
letter case. For example, if a job’s Name
property value is
MyJob
, then findJob
will not find that object
while searching for a Name
property value of
myjob
.
returns an array, objArray
= findJob(cluster
,propertyName
1,propertyValue
1,...,propertyName
N,propertyValue
N)objArray
, of job objects that meet all the property
names and property values in the search criteria.
[
sorts all job objects stored
in the cluster pending
,queued
,running
,completed
] =
findJob(objArray
,___)c
by state. Within pending
,
running
, and completed
, the jobs are returned in
sequence of creation. Jobs in the array queued
are in the order in which
they are queued, with the job at queued(1)
being the next to execute. The
completed
jobs include those that failed. Jobs that are deleted or
whose status is unavailable are not returned by this function.
Examples
Input Arguments
Output Arguments
Version History
Introduced before R2006a