coder.ReplacementTypes
Configuration parameter to specify custom names for MATLAB built-in data types in C/C++ code generation
Description
A coder.ReplacementTypes object contains the configuration
parameters that the code generator uses for creating custom data type names for MATLAB® built-in data types in C/C++ code generation.
You must associate coder.ReplacementTypes object with an Embedded Coder® configuration object (a coder.EmbeddedCodeConfig object) that you pass to
the codegen function.
You can access coder.ReplacementTypes properties from either the
command-line interface (see Specify Custom Names for MATLAB Built-in Data Types) or a dialog box for the associated
configuration object (see Access Replacement Types Properties Through a Dialog Box).
Creation
Use the coder.config function to create a
coder.EmbeddedCodeConfig object for generation of standalone code. When
the coder.config function creates a
coder.EmbeddedCodeConfig object, it sets the
ReplacementTypes property to coder.ReplacementTypes
object.