主要内容

本页采用了机器翻译。点击此处可查看最新英文版本。

removeStereotype

从配置文件中删除构造型

说明

removeStereotype(profile,stereotype) 从指定的配置文件中删除一个构造型。

示例

示例

全部折叠

创建一个配置文件,在配置文件中添加一个组件构造型,打开配置文件编辑器并从配置文件中移除构造型。

profile = systemcomposer.profile.Profile.createProfile("LatencyProfile");
stereotype = addStereotype(profile,"electricalComponent",AppliesTo="Component");
systemcomposer.profile.editor
profile.removeStereotype("electricalComponent")

输入参数

全部折叠

配置文件,指定为 systemcomposer.profile.Profile 对象。

要移除的构造型,指定为 systemcomposer.profile.Stereotype 对象或字符向量或字符串。

示例: "electricalComponent"

数据类型: char | string

详细信息

全部折叠

版本历史记录

在 R2019a 中推出