帮助中心帮助中心
移除模型元素
破坏(元素)
例子
破坏(元素)移除并销毁架构模型元素元素.
破坏(元素)
元素
全部折叠
创建一个组件,newComponent,然后将其从模型中移除。
newComponent
模型= systemcomposer.createModel(“newModel”,真正的);rootArch = get(模型,“架构”);newComponent = addComponent(rootArch,“newComponent”);破坏(newComponent)
架构模型元素,指定为以下对象之一:
systemcomposer.arch.Component
systemcomposer.arch.VariantComponent
systemcomposer.arch.ArchitecturePort
systemcomposer.arch.Connector
systemcomposer.arch.PhysicalConnector
systemcomposer.arch.Function
systemcomposer。ValueType
systemcomposer.interface.DataInterface
systemcomposer.interface.DataElement
systemcomposer.interface.PhysicalDomain
systemcomposer.interface.PhysicalInterface
systemcomposer.interface.PhysicalElement
systemcomposer.interface.FunctionArgument
systemcomposer.interface.ServiceInterface
systemcomposer.interface.FunctionElement
systemcomposer.profile.Property
systemcomposer.view.View
systemcomposer.view.ElementGroup
systemcomposer.allocation.AllocationScenario
systemcomposer.allocation.Allocation
systemcomposer.arch.Parameter
在R2019a中引入
组件|不同的组件|removeElement|removeElement|removeInterface|deleteView|deleteSubGroup|deleteInstance|removeProfile|removeProperty|removeStereotype|removeStereotype|释放|deleteScenario
removeElement
removeInterface
deleteView
deleteSubGroup
deleteInstance
removeProfile
removeProperty
removeStereotype
释放
deleteScenario
你点击了一个对应于这个MATLAB命令的链接:
在MATLAB命令窗口中输入该命令来运行该命令。Web浏览器不支持MATLAB命令。金宝app
选择一个网站,在可用的地方获得翻译的内容,并查看当地的活动和优惠。根据您所在的位置,我们建议您选择:.
您也可以从以下列表中选择一个网站:
选择中国站点(中文或英文)以获得最佳站点性能。其他MathWorks国家站点没有针对您所在位置的访问进行优化。
联系当地办事处