Main Content

removeStereotype

Remove stereotype from profile

Description

removeStereotype(profile,stereotype) removes a stereotype from the specified profile.

example

Examples

collapse all

Create a profile, add a component stereotype to the profile, open the Profile Editor, and remove the stereotype from the profile.

profile = systemcomposer.profile.Profile.createProfile("LatencyProfile");
stereotype = addStereotype(profile,"electricalComponent",AppliesTo="Component");
systemcomposer.profile.editor
profile.removeStereotype("electricalComponent")

Input Arguments

collapse all

Profile, specified as a systemcomposer.profile.Profile object.

Stereotype to remove, specified as a systemcomposer.profile.Stereotype object or by name as a character vector or string.

Example: "electricalComponent"

Data Types: char | string

More About

collapse all

Version History

Introduced in R2019a