Main Content

systemcomposer.analysis.Instance

Class that represents architecture model element in analysis instance

Description

The Instance class represents an instance of an architecture.

Creation

Create an instance of an architecture

instance = instantiate(modelHandle,architecture,properties,name)

Properties

expand all

Name of instance, returned as a character vector.

Data Types: char

Specification for creating instance, returned as a systemcomposer.arch.Architecture, systemcomposer.arch.Component, systemcomposer.arch.ArchitecturePort, systemcomposer.arch.ComponentPort, or systemcomposer.arch.Connector object. The specification depends on the kind of instance.

Architecture Instance Properties

Child components of instance, returned as an array of systemcomposer.analysis.ComponentInstance objects.

Ports of architecture instance, returned as an array of systemcomposer.analysis.PortInstance objects.

Connectors in architecture instance, returned as an array of systemcomposer.analysis.ConnectorInstance objects, connecting child components.

References element in model, returned as a systemcomposer.analysis.ArchitectureInstance object.

Component Instance Properties

Child components of instance, returned as an array of systemcomposer.analysis.ComponentInstance objects within the architecture.

Ports of component instance, returned as an array of systemcomposer.analysis.PortInstance objects.

Connectors in component instance, connecting child components, returned as an array of systemcomposer.analysis.ConnectorInstance objects.

Parent of the component, returned as a systemcomposer.analysis.ArchitectureInstance object.

References element in model, returned as a systemcomposer.analysis.ArchitectureInstance object.

Port Instance Properties

Component that contains the port, returned as a systemcomposer.analysis.ComponentInstance object.

Connector Instance Properties

Component that contains connector, returned as a systemcomposer.analysis.ComponentInstance object.

Source port instance, returned as a systemcomposer.analysis.PortInstance object.

Destination port instance, returned as a systemcomposer.analysis.PortInstance object.

References element in model, returned as a systemcomposer.analysis.ArchitectureInstance object.

Object Functions

getValueGet value of property from element instance
setValueSet value of property for element instance
isArchitectureFind if instance is architecture instance
isComponentFind if instance is component instance
isConnectorFind if instance is connector instance
isPortFind if instance is port instance
Introduced in R2019a