文档帮助中心文档
在概要文件中找到原型的名字
刻板印象= getStereotype(资料,名称)
例子
刻板印象= getStereotype (配置文件,的名字)根据名称在概要文件中查找原型。
刻板印象= getStereotype (配置文件,的名字)
刻板印象
配置文件
的名字
全部折叠
创建延迟特征的配置文件。
形象= systemcomposer.profile.Profile.createProfile (“LatencyProfile”);latencybase = profile.addStereotype (“LatencyBase”);latencybase.addProperty (“延迟”,“类型”,“双”);latencybase.addProperty (“dataRate”,“类型”,“双”,“DefaultValue”,“十”);connLatency = profile.addStereotype (“ConnectorLatency”,“父”,...“LatencyProfile。LatencyBase”);connLatency.addProperty (“安全”,“类型”,“布尔”);connLatency.addProperty (“linkDistance”,“类型”,“双”);nodeLatency = profile.addStereotype (“NodeLatency”,“父”,...“LatencyProfile。LatencyBase”);nodeLatency.addProperty (“资源”,“类型”,“双”,“DefaultValue”,'1');portLatency = profile.addStereotype (“PortLatency”,“父”,...“LatencyProfile。LatencyBase”);portLatency.addProperty (“queueDepth”,“类型”,“双”);portLatency.addProperty (“假”,“类型”,“int32”);
打开配置文件编辑器。的刻板印象“ConnectorLatency”在概要文件。
“ConnectorLatency”
systemcomposer.profile.editor()构造型= getStereotype(profile,“ConnectorLatency”)
描述:“Parent: [1×1 systemcomposer.profile. prototype . prototype . prototype . prototype . prototype . prototype . prototype . prototype . prototype . prototype . prototype。{}摘要:0 Icon: 'default' ComponentHeaderColor: [210 210 210 255] ConnectorLineColor: [168 168 168 255] ConnectorLineStyle: 'default' fulllyqualifiedname: 'LatencyProfile。ConnectorLatency' Profile: [1×1 systemcomposer.profile.]OwnedProperties: [1×2 systemcomposer.profile.]属性:[1×4 systemcomposer.profile.Property]
配置文件与原型,指定为systemcomposer.profile.Profile对象。
systemcomposer.profile.Profile
要查找的原型名称,指定为字符向量。
数据类型:字符
字符
刻板印象发现,返回作为systemcomposer.profile.Stereotype对象。
systemcomposer.profile.Stereotype
. xml
addStereotype|removeStereotype|systemcomposer.profile.Profile
addStereotype
removeStereotype
你点击一个链接对应于这个MATLAB命令:
通过在MATLAB命令窗口中输入命令来运行命令。Web浏览器不支持MATLAB命令。金宝app
选择一个网站,在那里获得翻译的内容,并看到当地的活动和优惠。根据您的位置,我们建议您选择:.
你也可以从以下列表中选择一个网站:
选择中国网站(中文或英文)以获得最佳网站性能。其他MathWorks国家站点没有针对您所在位置的访问进行优化。
与当地办事处联系
得到审判现在