FUNCTION REFERENCE
parallel.FevalFuture.cancel
Cancel a parallel.FevalFuture or batch job.
Cancel a parallel.FevalFuture or batch job.
Syntax
cancel(f)Does not change the future or job. State stays 'finished', and fetchOutputs still returns the value.
Example
f = parfeval(@sin, 1, 0); cancel(f); f.State % finishedDifferences from MATLAB: cancel is a no-op. The call has already run when the future or job is created.
These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.