FUNCTION REFERENCE

parallel.FevalFuture.fetchOutputs

Retrieve the outputs of a completed parallel.FevalFuture or batch job.

Retrieve the outputs of a completed parallel.FevalFuture or batch job.

Syntax

[a, b, ...] = fetchOutputs(f)

Returns the outputs produced by the function passed to parfeval or batch.

Example

f = parfeval(@sin, 1, 0); fetchOutputs(f)   % 0

Differences from MATLAB: Futures complete eagerly in MatRust, so fetchOutputs returns immediately.

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