文件帮助中心文件
获取应用于建筑模型元素的刻板印象
Stereotypes = getsteRotypes(元素)
例子
刻板印象= getstereotypes(元素)获取已应用于架构模型的元素的完全限定的刻板印象名称数组。
刻板印象= getstereotypes(元素)
刻板印象
元素
全部收缩
使用组件创建模型。
Model = SystemComposer.createModel('archmodel',真的);arch = get(型号,'建筑学');comp = addcomponent(arch,'成分');
使用刻板印象创建配置文件并将配置文件应用于模型。
profile = systemcomposer.profile.profile.createProfile('latencyprofile');latencybase = profile.addstereotype('latencybase');latencybase.addproperty('潜伏'那'类型'那'双倍的');latencybase.addproperty('数据速率'那'类型'那'双倍的'那'默认值'那'10');model.applyprofile('latencyprofile');
将刻板型应用于组件,打开配置文件编辑器,并在组件上获取刻板印象。
comp.applystereotype('latencyprofile.latencybase');SystemComposer.Profile.Editor(Profile)STEREOTYPES = GETSTEROTYPES(COMP)
Stereotypes = 1×1个单元阵列{'latencyprofile.latencybase'}
模型元素,指定为asystemcomposer.arch.architecture.那systemcomposer.arch.component.那systemcomposer.arch.componentport.那systemcomposer.arch.architionPort., 要么systemcomposer.arch.connector.目的。
systemcomposer.arch.architecture.
systemcomposer.arch.component.
systemcomposer.arch.componentport.
systemcomposer.arch.architionPort.
systemcomposer.arch.connector.
刻板印象列表,作为表单中的字符向量的小区数组返回'。'。
'。'
数据类型:char
char
不同类型的架构描述了系统的不同方面:
功能架构描述系统中的数据流。
逻辑架构描述了系统的预期操作。
物理架构描述系统中的平台或硬件。
对模型执行操作:
提取模型中包含的根级架构。
应用个人资料。
链接接口数据词典。
从模型架构生成实例。
系统编写器模型存储为.slx.文件。
.slx.
有不同类型的端口:
组件端口是组件上的交互点到其他组件。
建筑港口是系统边界上的端口,边界是否在组件或整体架构模型中。
.xml.
ApplyStereotype.|batchapplystereotype.|RemovestEthotype.
ApplyStereotype.
batchapplystereotype.
RemovestEthotype.
您单击了与此MATLAB命令对应的链接:
在MATLAB命令窗口中输入它来运行命令。Web浏览器不支持MATLAB命令。金宝app
选择一个网站,以便在可用的地方进行翻译的内容,并查看本地活动和优惠。根据您的位置,我们建议您选择:。
您还可以从以下列表中选择一个网站:
选择中国网站(以中文或英文)以获取最佳网站性能。其他MathWorks国家网站未优化您的位置。
联系您当地的办公室
立即获得审判