Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

getCurrentJob

Job object whose task is currently being evaluated

Syntax

job = getCurrentJob

Arguments

job

The job object that contains the task currently being evaluated by the worker session.

Description

job = getCurrentJob returns the Parallel.Job object that is the Parent of the task currently being evaluated by the worker session.

Tips

If the function is executed in a MATLAB® session that is not a worker, you get an empty result.

Introduced before R2006a

Was this topic helpful?