Main Content

saveAsProfile

Save cluster properties to specified profile

Description

saveAsProfile(cluster,profileName) saves the properties of the cluster object to the specified profile, and updates the cluster Profile property value to indicate the new profile name.

Examples

Create a cluster, then modify a property and save the properties to a new profile. The new profile now specifies 3 workers.

myCluster = parcluster('Processes');
myCluster.NumWorkers = 3; 
saveAsProfile(myCluster,'Processes2');

Version History

Introduced in R2012a