coder.mapping.utils.create
Create code mappings object for configuring data and function interface for C and C++ code generation
Since R2020b
Syntax
Description
creates code mappings environment for the specified model and returns the mappings as object
myCodeMappingObj
= coder.mapping.utils.create(model
)myCodeMappingObj
. Code mappings associate model data elements and
functions with configurations for C or C++ code generation. If code mappings exist for the
specified model, the function returns those code mappings.
creates C code mappings environment for the specified data dictionary and returns the
mappings as object myCodeMappingObj
= coder.mapping.utils.create(dictionary
)myCodeMappingObj
. Code mappings associate data
elements and functions with configurations for C or C++ code generation. If code mappings
exist for the specified data dictionary, the function returns those code mappings.
imports default memory section and shared utility naming rule configurations from
configuration set myCodeMappingObj
= coder.mapping.utils.create(model
,configObj
)configObj
while creating C code mappings for the
specified model. See Migration of Memory Section and Shared Utility Settings from Configuration Parameters to Code Mappings.
Examples
Input Arguments
Output Arguments
Version History
Introduced in R2020b