Main Content

本页翻译不是最新的。点击此处可查看最新英文版本。

代码接口定义

创建数据、函数和内存段代码生成定义,以实现标准化和软件架构一致性

在大型组织中,您可以帮助多人生成符合通用软件架构的代码。创建代码生成定义,上述人员可用它来控制代码中模型数据(信号、参数和状态)和函数的显示方式。

工具

Embedded Coder 字典Create code definitions to control code generation for model data and functions

全部展开

coder.Dictionary配置 Embedded Coder 字典 (自 R2019b 起)
coder.dictionary.Section配置 Embedded Coder 字典分区 (自 R2019b 起)
coder.dictionary.EntryConfigure Embedded Coder Dictionary definition (自 R2019b 起)

函数

全部展开

coder.dictionary.create创建 Embedded Coder 字典和 coder.Dictionary 对象 (自 R2019b 起)
coder.dictionary.open打开 Embedded Coder 字典对象 (自 R2019b 起)
coder.dictionary.copyCopy code generation definitions between models and data dictionaries
coder.dictionary.moveMigrate code generation definitions between models and data dictionaries
coder.dictionary.removeRemove Embedded Coder Dictionary from model or Simulink data dictionary
coder.dictionary.existDetermine whether Embedded Coder Dictionary exists in model or data dictionary (自 R2020b 起)

主题

创建代码接口配置定义

在多模型系统中分发和管理代码接口配置