MATLAB PARALLEL COMPUTING TOOLBOX - S Guia do Utilizador Página 441

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
Vista de página 440
findTask
11-97
findTask
Task objects belonging to job object
Syntax
tasks = findTask(j)
[pending running completed] = findTask(j)
tasks = findTask(j,'p1',v1,'p2',v2,...)
Arguments
j Job object.
tasks Returned task objects.
pending Array of tasks in job obj whose State is pending.
running Array of tasks in job obj whose State is running.
completed Array of completed tasks in job obj, i.e., those whose State is
finished or failed.
p1, p2 Task object properties to match.
v1, v2 Values for corresponding object properties.
Description
tasks = findTask(j) gets a 1-by-N array of task objects belonging to a job object j.
Tasks in the array are ordered by the ID property of the tasks, indicating the sequence in
which they were created.
[pending running completed] = findTask(j) returns arrays of all task objects
stored in the job object j, sorted by state. Within each array (pending, running, and
completed), the tasks are returned in sequence of creation.
tasks = findTask(j,'p1',v1,'p2',v2,...) returns an array of task objects
belonging to a job object j. The returned task objects will be only those matching the
Vista de página 440
1 2 ... 436 437 438 439 440 441 442 443 444 445 446 ... 655 656

Comentários a estes Manuais

Sem comentários