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 a code mappings environment for the specified model, if one does not exist, and
returns it as the object coderMapObj
= coder.mapping.utils.create(simulinkModel
)coderMapObj
. 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 as the object
coderMapObj
.
imports default memory section and shared utility naming rule configurations from
configuration set coderMapObj
= coder.mapping.utils.create(simulinkModel
,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