Main Content

setDefaultPortStereotype

(Removed) Set default stereotype for ports

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

Description

setDefaultPortStereotype(stereotype,stereotypeName) specifies the default stereotype stereotypeName of the ports on the architecture of a parent component that has stereotype applied.

Input Arguments

collapse all

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

Default stereotype name for ports, 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