MATLAB Hilfe-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.
Website auswählen
Wählen Sie eine Website aus, um übersetzte Inhalte (sofern verfügbar) sowie lokale Veranstaltungen und Angebote anzuzeigen. Auf der Grundlage Ihres Standorts empfehlen wir Ihnen die folgende Auswahl: .
Sie können auch eine Website aus der folgenden Liste auswählen:
So erhalten Sie die bestmögliche Leistung auf der Website
Wählen Sie für die bestmögliche Website-Leistung die Website für China (auf Chinesisch oder Englisch). Andere landesspezifische Websites von MathWorks sind für Besuche von Ihrem Standort aus nicht optimiert.
Amerika
Europa
Asien-Pazifik
Kontakt zu Ihrer lokalen Niederlassung