MATLAB 帮助中心
为 AUTOSAR Adaptive 模型创建清单文件
自 R2021a 起
createManifest(arProps)
createManifest(arProps) 为自适应应用程序创建一个执行清单 JSON 文件。该清单文件修改自适应应用程序 Linux® 可执行文件的默认记录行为,提供诸如记录模式和详细级别等属性。
arProps
JSON
示例
全部折叠
调用 autosar.api.getAUTOSARProperties 函数以创建对象 arProps,该对象表示模型 autosar_LaneGuidance 的 AUTOSAR 属性信息。使用返回的对象为指定的自适应模型创建一个执行清单 JSON 文件。
autosar.api.getAUTOSARProperties
autosar_LaneGuidance
hModel = 'autosar_LaneGuidance'; openExample(hModel); arProps = autosar.api.getAUTOSARProperties(hModel); createManifest(arProps);
模型的 AUTOSAR 属性信息,以前由 arProps = autosar.api.getAUTOSARProperties(model) 返回。参数 model 是表示模型名称的句柄、字符向量或字符串标量。
arProps = autosar.api.getAUTOSARProperties(model)
model
示例: arProps
数据类型: function_handle
function_handle
在 R2021a 中推出
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 国家/地区网站并未针对您所在位置的访问进行优化。
美洲
欧洲
亚太
联系您当地的办事处