FUNCTION REFERENCE

parpool

Start a parallel pool; MatRust's pool has one worker and runs serially.

Start a parallel pool; MatRust's pool has one worker and runs serially.

Syntax

p = parpool

Syntax

p = parpool(n)

Syntax

p = parpool('Processes', n)

Syntax

p = parpool('Threads')

Returns a parallel.ProcessPool (parallel.ThreadPool for 'Threads') with NumWorkers 1, Connected true, Busy false and IdleTimeout 30. The requested size is accepted and ignored. A second parpool while one is open is an error; close it with delete(gcp('nocreate')).

Example

p = parpool(2); n = p.NumWorkers; delete(p)   % n = 1

Differences from MATLAB: Runs serially in MatRust: one worker, no cluster profiles, no idle shutdown.

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