Products & Services Solutions Academia Support User Community Company

Learn more about Parallel Computing Toolbox   

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 M-file function 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

  


Recommended Products

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.

 © 1984-2009- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS