Skip to Main Content Skip to Search
Product Documentation

task - Define task behavior and properties when using job manager

Constructor

createTask

Container Hierarchy

Parent

job, matlabpooljob, or paralleljob object

Children

None

Description

A task object defines what each lab or worker does as part of the complete job execution. A task object is used only with a job manager as scheduler.

Methods

cancelCancel job or task
destroyRemove job or task object from parent and memory
waitForStateWait for object to change state

Properties

AttemptedNumberOfRetriesNumber of times failed task was rerun
CaptureCommandWindowOutputSpecify whether to return Command Window output
CommandWindowOutputText produced by execution of task object's function
ConfigurationSpecify configuration to apply to object or toolbox function
CreateTimeWhen task or job was created
ErrorTask error information
ErrorIdentifierTask error identifier
ErrorMessageMessage from task error
FailedAttemptInformationInformation returned from failed task
FinishedFcnSpecify callback to execute after task or job runs
FinishTimeWhen task or job finished
FunctionFunction called when evaluating task
IDObject identifier
InputArgumentsInput arguments to task object
MaximumNumberOfRetriesSpecify maximum number of times to rerun failed task
NumberOfOutputArgumentsNumber of arguments returned by task function
OutputArgumentsData returned from execution of task
ParentParent object of job or task
RunningFcnSpecify function file to execute when job or task starts running
StartTimeWhen job or task started
StateCurrent state of task, job, job manager, or worker
TimeoutSpecify time limit to complete task or job
UserDataSpecify data to associate with object
WorkerWorker session that performed task

See Also

simpletask

  


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