文档帮助中心文档
删除建筑实例
systemcomposer.analysis.deleteInstance (architectureInstance)
例子
systemcomposer.analysis.deleteInstance (architectureInstance)删除已存在的实例。
systemcomposer.analysis.deleteInstance (architectureInstance)
architectureInstance
这个函数是实例API的一部分,您可以使用它逐个元素地迭代分析模型。实例引用正在其上执行迭代的元素实例。
实例
全部折叠
创建延迟特征的配置文件。
形象= 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”);
在概要文件中实例化所有原型。
模型= systemcomposer.createModel (“archModel”,真正的);=实例化(模型实例。架构,“LatencyProfile”,“NewInstance”);
删除架构实例。
systemcomposer.analysis.deleteInstance(实例);
要删除的架构实例,指定为systemcomposer.analysis.ArchitectureInstance对象
systemcomposer.analysis.ArchitectureInstance
使用分析功能分析体系结构模型
分析架构
.MAT
实例化|systemcomposer.analysis.Instance|loadInstance|保存|刷新|更新
实例化
systemcomposer.analysis.Instance
loadInstance
保存
刷新
更新
你点击一个链接对应于这个MATLAB命令:
通过在MATLAB命令窗口中输入命令来运行命令。Web浏览器不支持MATLAB命令。万博1manbetx
选择一个网站,在那里获得翻译的内容,并看到当地的活动和优惠。根据您的位置,我们建议您选择:.
你也可以从以下列表中选择一个网站:
选择中国网站(中文或英文)以获得最佳网站性能。其他MathWorks国家站点没有针对您所在位置的访问进行优化。
与当地办事处联系
得到审判现在