Main Content

Import custom types from external header files

Whether to import type definition from external header files

Description

App Configuration Pane: Code Appearance

Configuration Objects: coder.ReplacementTypes

Enable or disable importing type definitions from external header files for use in the generated C/C++ code.

Dependencies

To enable this parameter, select the Enable custom data type replacement checkbox.

Settings

Off

This value is the default value.

Custom type definitions are generated in the file rtwtypes.h. Importing type definitions from external header files is not allowed for code generation.

On

Importing type definitions from external header files is allowed for code generation. The specified header files are included in <function>_types.h. For example, if the function name is myFunc, the external header file is included in a generated header file myFunc_types.h.

Programmatic Use

Property: IsExtern
Values: false | true
Default: false

Version History

Introduced in R2019b