MATLAB 帮助中心
从模型中删除未映射的 AUTOSAR 组件
deleteUnmappedComponents(arProps)
deleteUnmappedComponents(arProps) 删除未映射到模型的原子软件组件。使用此函数可删除您不想在模型中保留并在 ARXML 代码中导出的未使用的导入组件。此函数不删除标定组件。
arProps
示例
全部折叠
在从 ARXML 文件导入 AUTOSAR 信息并为 AUTOSAR 配置模型后,删除已导入但未映射到模型的原子软件组件。这可以防止未映射的组件导出回 ARXML。
arProps = autosar.api.getAUTOSARProperties('my_autosar_model'); deleteUnmappedComponents(arProps);
模型的 AUTOSAR 属性信息,以前由 arProps = autosar.api.getAUTOSARProperties(model) 返回。model 是一个表示模型名称的句柄、字符向量或字符串标量。
arProps = autosar.api.getAUTOSARProperties(model)
model
示例: arProps
在 R2014b 中推出
autosar.api.getAUTOSARProperties | arxml.importer
autosar.api.getAUTOSARProperties
arxml.importer
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
选择网站
选择网站以获取翻译的可用内容,以及查看当地活动和优惠。根据您的位置,我们建议您选择:。
您也可以从以下列表中选择网站:
如何获得最佳网站性能
选择中国网站(中文或英文)以获得最佳网站性能。其他 MathWorks 国家/地区网站并未针对您所在位置的访问进行优化。
美洲
欧洲
亚太
联系您当地的办事处