renameProfile
Rename profile in model
Description
renameProfile(
renames a profile on a model from model,oldProfileName,newProfileName)oldProfileName to
newProfileName to make it consistent if the name of the profile was
changed in the file explorer.
Note
Before you move, copy, or rename a profile to a different directory, you must close the
profile in the Profile
Editor or by using the close
function. If you rename a profile, follow the example for the renameProfile function.
Examples
Input Arguments
More About
Version History
Introduced in R2020b
See Also
Tools
Blocks
Objects
systemcomposer.profile.Profile|systemcomposer.profile.Stereotype|systemcomposer.profile.Property
Functions
systemcomposer.profile.Profile.createProfile|systemcomposer.loadProfile|applyProfile|removeProfile|systemcomposer.profile.editor|systemcomposer.profile.Profile.find|systemcomposer.profile.Profile.load|save|open|close|systemcomposer.profile.Profile.closeAll|systemcomposer.profile.Stereotype.find|getDefaultStereotype|setDefaultStereotype|getDefaultElementStereotype|setDefaultElementStereotype|addStereotype|removeStereotype|getStereotype|applyStereotype|batchApplyStereotype|getStereotypes|changeStereotype|removeStereotype|hasStereotype|addProperty|removeProperty|hasProperty|setProperty|getProperty|getPropertyValue|getEvaluatedPropertyValue|getStereotypeProperties|applyStereotypeOrder|getStereotypeNamesByOrder|increaseStereotypeOrder|decreaseStereotypeOrder