c = parcluster returns a cluster object
representing the cluster identified by the default cluster profile, with the cluster object
properties set to the values defined in that profile. Use a cluster object in functions such
as parpool or batch.
c = parcluster(profile)
returns a cluster object representing the cluster identified by the specified cluster
profile, with the cluster object properties set to the values defined in that
profile.
This examples shows different ways of creating a cluster object from
the default profile.
Find the cluster identified by the default parallel computing cluster profile, with
the cluster object properties set to the values defined in that profile.
myCluster = parcluster;
View the name of the default profile and find the cluster identified by it. Open a
parallel pool on the cluster.
profile — Cluster profile string scalar | character vector
Cluster profile, specified as a string scalar or character vector.
You can save modified profiles with the saveProfile or saveAsProfile method on a cluster
object. You can create, delete, import, and modify profiles with the Cluster Profile
Manager, accessible from the MATLAB desktop Home tab
Environment area by selecting Parallel > Create and Manage Clusters. For more information, see Discover Clusters and Use Cluster Profiles.
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.