linkDictionary
Link data dictionary to architecture model
Syntax
描述
例子
链接数据词典
Link a data dictionary to a model.
model = systemcomposer.createModel("newModel",真的);dictionary = systemcomposer.createDictionary("newDictionary.sldd");linkDiCTIONARY(模型,"newDictionary.sldd");保存(字典);保存(型号);
Input Arguments
model
—Architecture model
model object
Architecture model, specified as aSystemComposer.arch.model
目的。
字典文件
—Dictionary file name
character vector|string
字典文件名称带有.sldd
extension, specified as a character vector or string. If a dictionary with this name does not exist, one will be created.
例子:“dict_name.sldd”
Data Types:char
|string
More About
定义s
Term | 定义 | 应用 | 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:
|
Compose Architecture Visually |
model | A System Composermodel是包含架构信息的文件,包括组件,端口,连接器,接口和行为。 |
Perform operations on a model:
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是代表与环境相互作用的组件或体系结构上的节点。一个端口允许从其他组件或系统的信息流进行。 |
有不同类型的端口:
|
端口 |
连接器 | 连接器是提供端口之间连接的线路。连接器描述信息如何在组件或体系结构之间流动。 |
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 | 定义 | 应用 | More Information |
---|---|---|---|
interface data dictionary | Aninterface data dictionaryis a consolidated list of all the interfaces and value types in an architecture and where they are used. |
Local interfaces on a System Composer model can be saved in an interface data dictionary using the接口编辑器. Interface dictionaries can be reused between models that need to use a given set of interfaces, elements, and value types. Data dictionaries are stored in separate SLDD files. |
|
data interface | Adata interfacedefines the kind of information that flows through a port. The same interface can be assigned to multiple ports. A data interface can be composite, meaning that it can include data elements that describe the properties of an interface signal. |
数据接口表示通过连接器共享的信息,并通过端口进入或退出组件。使用接口编辑器to create and manage data interfaces and data elements and store them in an interface data dictionary for reuse between models. |
|
data element | Adata element描述接口的一部分,例如通信消息,计算或测量的参数或该接口的其他分解。 |
Data interfaces are decomposed into data elements:
|
|
value type | Avalue type可以用作端口接口来定义流过该端口并具有顶级类型,维度,单位,复杂性,最小值,最大和描述的原子片段。 |
您还可以将数据接口中数据元素的类型分配给值类型。使用该词典添加价值类型接口编辑器so that you can reuse the value types as interfaces or data elements. |
创建价值类型作为接口 |
拥有的界面 | An拥有的界面是特定端口本地局部且未在数据字典或模型词典中共享的接口。 |
Create an owned interface to represent a value type or data interface that is local to a port. |
Define Owned Interfaces Local to Ports |
adapter | Anadapterhelps connect two components with incompatible port interfaces by mapping between the two interfaces. An adapter can act as a unit delay or rate transition. You can also use an adapter for bus creation. Use the适配器块以实现适配器。 |
使用适配器,您可以在Interface Adapter对话:
|
Version History
MATLAB-Befehl
Sie haben auf einen Link geklickt, der diesem MATLAB-Befehl entspricht:
führensie den befehl durch eingabe在das matlab-befehlsfenster aus中。webbrowserunterstützenkeine matlab-befehle。
选择一个网站
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select:.
您还可以从以下列表中选择一个网站:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
美洲
- AméricaLatina(Español)
- 加拿大(英语)
- 美国(英语)