isArchitecture

Find if an instance is a architecture instance

Description

flag = isComponent(instance) finds whether the instance is a architecture instance.

Input Arguments

collapse all

This function is part of the instance API that you can use to analyze the model iteratively, element by element.instance refers to the element instance on which the iteration is being performed.

Data Types: systemcomposer.analysis.ArchitectureInstance | systemcomposer.analysis.ComponentInstance | systemcomposer.analysis.PortInstance | systemcomposer.analysis.ConnectorInstance

Output Arguments

collapse all

This argument is true if the instance is a architecture.

Introduced in R2019a