MATLAB Help Center
Access task properties and behaviors
createTask, findTask
createTask
findTask
getCurrentTask (in the workspace of the MATLAB worker)
getCurrentTask
Parent
parallel.Job
Children
none
A parallel.Task object provides access to a task, which executes on a worker as part of a job.
The following table describes the available types of task objects, determined by the type of cluster.
All task type objects have the same methods, described in the following table.
The following properties are common to all task object types.
CaptureDiary
CreateDateTime
Diary
Error
ErrorIdentifier
ErrorMessage
FinishDateTime
Function
ID
InputArguments
Name
NumOutputArguments
OutputArguments
RunningDuration
duration
StartDateTime
State
UserData
Warnings
message
identifier
stack
Worker
MATLAB Job Scheduler task objects have the following properties in addition to the common properties:
FailureInfo
FinishedFcn
MaximumRetries
NumFailures
RunningFcn
Timeout
CJS task objects have the following properties in addition to the common properties:
SchedulerID
If you have submitted the task to a third-party scheduler, this is the ID that the scheduler gives to the task on submission. For example, this corresponds to the JOBID on a SLURM scheduler.
JOBID
To get further help on either type of parallel.Task object, including a list of links to help for its properties, type:
help parallel.task.MJSTask help parallel.task.CJSTask
parallel.Cluster, parallel.Job, parallel.Worker
parallel.Cluster
parallel.Worker
Introduced in R2012a
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
Seleziona un sito web
Seleziona un sito web per visualizzare contenuto tradotto dove disponibile e vedere eventi e offerte locali. In base alla tua area geografica, ti consigliamo di selezionare: .
Puoi anche selezionare un sito web dal seguente elenco:
Come ottenere le migliori prestazioni del sito
Per ottenere le migliori prestazioni del sito, seleziona il sito cinese (in cinese o in inglese). I siti MathWorks per gli altri paesi non sono ottimizzati per essere visitati dalla tua area geografica.
Americhe
Europa
Asia-Pacifico
Contatta l’ufficio locale