systemcomposer.analysis.Instance
分析实例中的元素
说明
一个 Instance
对象代表一个 System Composer™ 模型元素的实例。
相关对象包括:
创建对象
使用 instantiate
函数创建一个架构实例。
instance = instantiate(model.Architecture,'LatencyProfile','NewInstance', ... 'Function',@calculateLatency,'Arguments','3','Strict',true, ... 'NormalizeUnits',false,'Direction','PreOrder')
属性
对象函数
getValue | 从元素实例中获取属性值 |
setValue | 为元素实例设置属性值 |
hasValue | 查找元素实例是否具有属性值 |
isArchitecture | 查找实例是否为架构实例 |
isComponent | 查找实例是否为组件实例 |
isConnector | 查找实例是否为连接器实例 |
isPort | 查找实例是否为端口实例 |
示例
详细信息
版本历史记录
在 R2019a 中推出
另请参阅
工具
函数
instantiate
|iterate
|lookup
|save
|update
|refresh
|systemcomposer.analysis.loadInstance
|systemcomposer.analysis.deleteInstance
|getValue
|setValue
|hasValue
|getParameter
|getEvaluatedParameterValue
|getParameterNames
|getParameterValue
|setParameterValue
|isArchitecture
|isComponent
|isConnector
|isPort
|getQualifiedName