specify your parallel preferences
you can access your parallel preferences in any of the following ways:
on the home tab in the environment section, select parallel > parallel preferences
select the desktop pool indicator icon, and select parallel preferences.
in the command window, type .
preferences
in the navigation tree of the preferences dialog box, select
parallel computing toolbox
.
you can control your parallel preference settings as follows:
default profile — choose the profile you want to use. the default profile is processes. for more information, see add and modify cluster profiles.
automatically create a parallel pool — if a parallel pool is not open, some functionality in parallel computing toolbox™ will automatically create a parallel pool, including:
when these functions are used, select automatically create a parallel pool to create a pool automatically. if you select this option, you do not need to open a pool manually using the
parpool
function.if this option is not selected, a pool is not open, and you use any parallel computing toolbox functionality, your code will run on the client.
shut down and delete a parallel pool — to shut down a parallel pool automatically if the pool has been idle for the specified amount of time, use the
idletimeout
setting. if you use the pool (for example, usingparfor
orparfeval
), the timeout counter is reset. when the timeout is about to expire, a tooltip on the desktop pool indicator warns you and allows you to reset the timer. note that modifying this setting changes theidletimeout
of any already started pool.