主要内容

getQualifiedName

Get model element qualified name

Description

example

getQualifiedName(element)获取架构模型元素的合格名称element.

Examples

collapse all

Create a component,新COMPONENT, then get its qualified name.

model = systemcomposer.createModel("newModel",真的);rootArch = get(模型,"Architecture"); newComponent = addComponent(rootArch,"newComponent"); name = getQualifiedName(newComponent)
名称='newmodel/newcomponent'

More About

collapse all

Definitions

Term Definition Application More Information
建筑学

系统作曲家™建筑学represents a system of components and how they interface with each other structurally and behaviorally. You can represent specific architectures using alternate views.

Different types of architectures describe different aspects of systems:

  • 功能架构描述系统中的数据流。

  • Logical architecturedescribes the intended operation of a system.

  • Physical architecturedescribes the platform or hardware in a system.

Compose Architecture Visually
model

A System Composermodel是包含架构信息的文件,包括组件,端口,连接器,接口和行为。

Perform operations on a model:

  • 提取模型中包含的根级体系结构。

  • Apply profiles.

  • 链接接口数据词典。

  • Generate instances from model architecture.

A System Composer model is stored as an SLX file.

创建具有接口和需求链接的体系结构模型
component

Acomponentis a nontrivial, nearly independent, and replaceable part of a system that fulfills a clear function in the context of an architecture. A component defines an architectural element, such as a function, a system, hardware, software, or other conceptual entity. A component can also be a subsystem or subfunction.

Represented as a block, a component is a part of an architecture model that can be separated into reusable artifacts.

Components
port

Aport是代表与环境相互作用的组件或体系结构上的节点。一个端口允许从其他组件或系统的信息流进行。

有不同类型的端口:

  • 组件端口are interaction points on the component to other components.

  • 建筑端口are ports on the boundary of the system, whether the boundary is within a component or the overall architecture model.

端口
connector

连接器是提供端口之间连接的线路。连接器描述信息如何在组件或体系结构之间流动。

A connector allows two components to interact without defining the nature of the interaction. Set an interface on a port to define how the components interact.

Connections

Term Definition Application More Information
physical subsystem

Aphysical subsystem是一个模拟万博1manbetx®subsystem with Simscape™ connections.

A physical subsystem with Simscape connections uses a physical network approach suited for simulating systems with real physical components and represents a mathematical model.

Describe Component Behavior Using Simscape
physical port

Aphysical port代表一个称为A的Simscape物理建模连接器端口Connection Port(SIMSCAPE).

Use physical ports to connect components in an architecture model or to enable physical systems in a Simulink subsystem.

Define Physical Ports on Component
physical connector

Aphysical connectorcan represent a nondirectional conserving connection of a specific physical domain. Connectors can also represent physical signals.

使用物理连接器连接代表系统功能以数学模拟的物理组件。

Architecture Model with Simscape Behavior for a DC Motor
物理接口

A物理接口defines the kind of information that flows through a physical port. The same interface can be assigned to multiple ports. A physical interface is a composite interface equivalent to aSimulink.ConnectionBusobject that specifies any number ofSimulink.ConnectionElementobjects.

使用物理接口捆绑物理元素来描述至少一个物理域的物理模型。

Specify Physical Interfaces on Ports
physical element

Aphysical elementdescribes the decomposition of a physical interface. A physical element is equivalent to aSimulink.ConnectionElement目的。

定义类型物理元素作为物理领域,可以在物理模型中使用该域。

Describe Component Behavior Using Simscape

Version History

Introduced in R2019a