Replacement Name: uint8
Description
Specify names for built-in Simulink® data types in generated code.
Category: Code Generation > Data Type Replacement
Settings
Default:
''
If a value is not specified, the code generator uses the Code Generation
Name, uint8_T
.
Specify character vectors for the code generator to use as names for built-in Simulink data types.
A
Simulink.AliasType
object.The Simulink Name built-in data type name.
To replace the Code Generation Name
uint8_T
:
For a
Simulink.AliasType
object, set theBaseType
object property touint8
.To use the built-in data type name that matches the Code Generation Name, specify
uint8
in the Replacement Name column.
An error occurs, if:
A replacement data type specification is inconsistent with the Simulink Name data type.
The
Simulink.AliasType
object has the Data scope parameter set toExported
.
Dependency
Replace data type names in the generated code enables this parameter.
Command-Line Information
Parameter:
ReplacementTypes, replacementName.uint8 |
Type: character vector |
Value: The Simulink
Name or the name of a Simulink.AliasType
object, where the object exists in the base workspace. |
Default:
'' |
Recommended Settings
Application | Setting |
---|---|
Debugging | No impact |
Traceability | A valid character vector |
Efficiency | No impact |
Safety precaution | No recommendation |