FUNCTION REFERENCE

parallel.FevalFuture

Future object returned by parfeval.

Future object returned by parfeval.

Syntax

f = parfeval(@fn, nout, args...)

Stores the scheduled call result, state, error and metadata. Retrieve outputs with fetchOutputs or fetchNext and wait with wait. cancel leaves State as 'finished', and fetchOutputs still returns the value.

Example

f = parfeval(@sin, 1, 0); class(f)   % 'parallel.FevalFuture'

Differences from MATLAB: Executes eagerly and serially in MatRust; State is immediately 'finished'.

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