This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

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.

myCluster = parcluster('local');
myCluster.NumWorkers = 3; 
saveAsProfile(myCluster,'local2'); New profile now specifies 3 workers

Introduced in R2012a