Main Content

Enable custom data type replacement

Custom names for data types in generated code

Description

App Configuration Pane: Code Appearance

Configuration Objects: coder.EmbeddedCodeConfig

Custom names for these MATLAB® data types in generated C/C++ code:

  • double

  • single

  • uint8

  • uint16

  • uint32

  • uint64

  • int8

  • int16

  • int32

  • int64

  • char

  • logical

For more information, see Customize Data Type Replacement (Embedded Coder).

Settings

Off

This value is the default value.

Custom names for the MATLAB data types are not allowed.

On

Custom names for the MATLAB data types are allowed. Specify custom names by using ReplacementTypes. Setting EnableCustomReplacementTypes to true enables the ReplacementTypes parameter.

Programmatic Use

Property: EnableCustomReplacementTypes
Values: false | true
Default: false

Version History

Introduced in R2019a