Main Content

setDefaultComponentStereotype

(Removed) Set default stereotype for components

The setDefaultComponentStereotype function has been removed. You can set a default component stereotype using the function setDefaultElementStereotype. For further details, see Compatibility Considerations.

Description

setDefaultComponentStereotype(stereotype,stereotypeName) specifies the default stereotype stereotypeName of the child components whose parent component has stereotype applied.

Input Arguments

collapse all

Stereotype of parent component, specified as a systemcomposer.profile.Stereotype object.

Default stereotype name for child components, specified as a character vector or string in the form '<profile>.<stereotype>'.

Data Types: char | string

Compatibility Considerations

expand all

Errors starting in R2021b

Introduced in R2019a