Remove property from stereotype
removeProperty(stereotype,propertyName)
example
removeProperty(stereotype,propertyName) removes a property from the stereotype.
stereotype
propertyName
collapse all
Add a component stereotype and add a VoltageRating property with value 5. Then remove the property.
VoltageRating
5
stereotype = addStereotype(profile,'electricalComponent','AppliesTo','Component') property = addProperty(stereotype,'VoltageRating','DefaultValue','5'); removeProperty(stereotype,'VoltageRating');
Stereotype to which property is removed, specified as a systemcomposer.profile.Stereotype object.
systemcomposer.profile.Stereotype
Name of property to be removed, specified as a character vector.
Data Types: char
char
addProperty | getProperty
addProperty
getProperty