FUNCTION REFERENCE

parallel.FevalFuture.wait

Wait for a parallel.FevalFuture or batch job to reach a given state.

Wait for a parallel.FevalFuture or batch job to reach a given state.

Syntax

wait(f)

Syntax

tf = wait(f, state, timeout)

Waits until future or job f reaches the requested state (default 'finished').

Example

f = parfeval(@sin, 1, 0); wait(f)

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

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