Main Content

代码接口定义

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

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

工具

Embedded Coder DictionaryCreate code definitions to control code generation for model data and functions

coder.Dictionary配置 Embedded Coder 字典
coder.dictionary.SectionConfigure Embedded Coder Dictionary section
coder.dictionary.EntryConfigure Embedded Coder Dictionary definition

函数

coder.dictionary.createCreate Embedded Coder Dictionary and coder.Dictionary object
coder.dictionary.openOpen Embedded Coder Dictionary object
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

主题