changeStereotype
Change currently applied stereotype to new stereotype in its stereotype hierarchy
Since R2024a
Description
changeStereotype(
changes the currently applied stereotype on a model element to another stereotype in its
stereotype hierarchy with an optional name-value argument. Changing stereotypes retains
shared property values.element,stereotype,Name=Value)
Examples
Input Arguments
Name-Value Arguments
More About
Version History
Introduced in R2024a
See Also
Tools
Blocks
Objects
systemcomposer.profile.Profile|systemcomposer.profile.Stereotype|systemcomposer.profile.Property|systemcomposer.profile.Style
Functions
systemcomposer.profile.Profile.createProfile|systemcomposer.loadProfile|applyProfile|removeProfile|renameProfile|systemcomposer.profile.editor|systemcomposer.profile.Profile.find|systemcomposer.profile.Profile.load|save|open|close|systemcomposer.profile.Profile.closeAll|getExtendedElement|systemcomposer.profile.Stereotype.find|getDefaultStereotype|setDefaultStereotype|getDefaultElementStereotype|setDefaultElementStereotype|addStereotype|removeStereotype|getStereotype|applyStereotype|batchApplyStereotype|getStereotypes|removeStereotype|hasStereotype|addProperty|removeProperty|hasProperty|isDerivedFrom|setProperty|getProperty|getPropertyValue|getEvaluatedPropertyValue|getStereotypeProperties|applyStereotypeOrder|getStereotypeNamesByOrder|increaseStereotypeOrder|decreaseStereotypeOrder