PoolPrepare prepares a pool of MATLAB instances for executing code in parallel
PoolPrepare and PoolClose are used respectively to open and close a prespecified number of parallel MATLAB sessions, which need to be distributed over the physical cores where MATLAB is running.
Sequential vs parallel run.numpool
=PoolPrepare(numpool
,
pariter
,
UserOptions
)