FUNCTION REFERENCE

fetchOutputs

Outputs of finished futures or a batch job.

Outputs of finished futures or a batch job.

Syntax

[y1, ..., yn] = fetchOutputs(F)

Syntax

Y = fetchOutputs(F, 'UniformOutput', false)

For one future, returns its outputs. For an array of futures, each output is the vertical concatenation over the futures (or a cell column with 'UniformOutput' false). For a batch job, returns a cell array. A future that failed raises "One or more futures resulted in an error." with the cause.

Example

y = fetchOutputs(parfeval(@sqrt, 1, 16));   % y = 4

Differences from MATLAB: Futures are always finished in MatRust.

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