FUNCTION REFERENCE

parallel.job.CJSIndependentJob

Independent batch job object returned by batch.

Independent batch job object returned by batch.

Syntax

j = batch(@fn, nout, {args...})

Stores job state, ID and outputs. Retrieve outputs with fetchOutputs. load does nothing, because the job has already run. wait returns at once, and cancel leaves State as 'finished'.

Example

j = batch(@sin, 1, {0}); class(j)   % 'parallel.job.CJSIndependentJob'

Differences from MATLAB: Executes eagerly and serially in MatRust; remote cluster profiles are not supported.

These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.