In a large organization, you can help multiple people generate code that conforms to a general software architecture. Create code generation definitions that those people can use to control the appearance of model data (signals, parameters, and states) and functions in the code.
|Create Embedded Coder Dictionary and |
|Open Embedded Coder Dictionary object|
|Copy code generation definitions between models and data dictionaries|
|Migrate code generation definitions between models and data dictionaries|
|Remove Embedded Coder Dictionary from model or Simulink data dictionary|
|Determine whether Embedded Coder Dictionary exists in model or data dictionary|
|Embedded Coder Dictionary||Create code definitions to control code generation for model data and functions|
Package software architecture definitions used by the code generator to produce code for a model separately from model design.
Create code generation definitions that you and others can use to control the generated code.
Define and apply a storage class that uses different code generation settings for single-instance data and multi-instance data.
Configure Embedded Coder Dictionary programmatically.
Make code generation definitions, such as storage classes and function templates, available to people who need them.
Update code definitions and manage the use of Embedded Coder Dictionaries.
For new and existing models, standardize the generated code across an organization by sharing and copying default code generation settings.
Use storage classes and Coder Dictionary Defaults to integrate the generated code with legacy code that uses specialized functions to read from and write to data.
Use the storage class
GetSet to integrate the generated code with
legacy code that uses specialized functions to read from and write to data.
For additional control of data representation in the generated code, create storage classes.