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.
Examples
Input Arguments
Output Arguments
Version History
Introduced in R2020b
See Also
coder.mapping.api.get
| coder.mapping.api.CodeMapping
| coder.mapping.api.CoderDictionary
| coder.mapping.api.CodeMappingCPP
(Embedded Coder)