Quantcast

Documentation Center

  • Trial Software
  • Product Updates

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.

More About

expand all

Tips

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

See Also

| | |

Was this topic helpful?