isReference

Find if component is reference to another model

Description

flag = isReference(compObj) returns whether or not the component is a reference to another model.

Input Arguments

collapse all

Component to get port from, specified as a systemcomposer.arch.BaseComponent, systemcomposer.analysis.ArchitectureInstance, systemcomposer.analysis.ComponentInstance, systemcomposer.analysis.PortInstance, or systemcomposer.analysis.ConnectorInstanceobject.

Output Arguments

collapse all

This argument is true if the component is a reference.

Data Types: logical

Introduced in R2019a