addComponent

Add component to view given path

Description

viewComp = addComponent(object,compPath) adds the component with the specified path.

addComponent is a method for the class systemcomposer.view.ViewArchitecture.

Input Arguments

collapse all

View architecture, specified as a systemcomposer.view.ViewArchitecture object.

Path to the component including the name of the top-model, specified as a character vector.

Data Types: char

Output Arguments

collapse all

View component, returned as a systemcomposer.view.ViewComponent object.

Introduced in R2019b