applyStereotype

Apply stereotype to architecture model element

Description

applyStereotype(element,stereotype) applies a stereotype to an architecture model element. The function adds the specified stereotype if it is not already applied to a model element. Stereotypes can be applied to architecture, component, port, and connector model elements.

Input Arguments

collapse all

Fully qualified name of stereotype, specified as a character vector in the form '<profile>.<stereotype>'. The profile must already be applied to the model.

Data Types: char

Introduced in R2019a