coder.mapping.utils.create
创建用于配置 C 和 C++ 代码生成的数据和函数接口的代码映射对象
说明
为指定的模型创建一个代码映射环境(如果尚不存在),并将其以对象 coderMapObj = coder.mapping.utils.create(simulinkModel)coderMapObj 形式返回。代码映射将模型数据元素和函数与用于 C 或 C++ 代码生成的配置相关联。如果指定的模型存在代码映射,则该函数将这些代码映射以对象 coderMapObj 形式返回。
示例
输入参数
输出参量
版本历史记录
在 R2020b 中推出
另请参阅
coder.mapping.api.get | coder.mapping.api.CodeMapping | coder.mapping.api.CodeMappingCPP (Embedded Coder)
主题
- 模型接口元素的 C 数据代码接口配置
- Programmatically Configure C++ Interface (Embedded Coder)