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, 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

Version History

Introduced in R2019a

collapse all

R2021b: setDefaultComponentStereotype function has been removed

The setDefaultComponentStereotype function has been removed in R2021b. Use setDefaultElementStereotype instead.