DocumentationHelp Center
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
Ha hecho clic en un enlace que corresponde a este comando de MATLAB:
Ejecute el comando introduciéndolo en la ventana de comandos de MATLAB. Los navegadores web no admiten comandos de MATLAB.
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office
Get trial now