parallel.defaultProfile
Description
p = parallel.defaultProfile returns the name of the default cluster
profile.
oldProfile = parallel.defaultProfile(newProfile) sets the default
profile to newProfile and returns the previous default profile.
If you delete or have not set the default profile,
parallel.defaultProfile returns 'Processes' as the
previous default profile.
You can save modified profiles by using the saveProfile or saveAsProfile functions on a cluster object.
You can create, delete, import, and modify profiles with the Cluster Profile Manager. To
access the Cluster Profile manager, in the Environment area of
the MATLAB® desktop Home tab, click
Parallel and then click Create and Manage
Clusters.
Examples
Tips
If you set a new default profile, you can keep the old profile in your MATLAB workspace in case you need to reset the default profile.
Version History
Introduced in R2022b