Main Content

Replacement Name: uint64


Specify a name for a 64-bit unsigned integer Simulink® data type in generated code.

Category: Code Generation > Data Type Replacement


Default: ''

If a value is not specified, the code generator uses the Code Generation Name, uint64_T.

Specify character vectors for the code generator to use as names for 64-bit unsigned integer Simulink data types.

Specify the replacement name as one of the following:

  • A Simulink.NumericType object.

  • The Simulink Name built-in data type name.

To replace the Code Generation Name uint64_T:

  • For a Simulink.NumericType object, set these properties:

    • DataTypeMode - Fixed-point: binary point scaling

    • Signedness - Unsigned

    • WordLength - 64

    • IsAlias - true

  • To use the built-in data type name that matches the Code Generation Name, specify uint64 in the Replacement Name column.

An error occurs, if:

  • A replacement data type specification is inconsistent with the Simulink Name data type.

  • The object is Simulink.AliasType .


Replace data type names in the generated code enables this parameter.

Command-Line Information

Parameter: ReplacementTypes, replacementName.uint64
Type: character vector
Value: The name of a Simulink.NumericType object, where the object exists in the base workspace.
Default: ''

Recommended Settings

TraceabilityA valid character vector
Safety precautionNo recommendation

Related Topics