Replacement Name: int64
Description
Specify a name for a 64-bit integer Simulink® data type 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, int64_T
.
Specify character vectors for the code generator to use as names for 64-bit 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
int64_T
:
For a
Simulink.NumericType
object, set these properties:DataTypeMode
-Fixed-point: binary point scaling
Signedness
-Signed
WordLength
-64
IsAlias
-true
To use the built-in data type name that matches the Code Generation Name, specify
int64
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
.
Dependency
Replace data type names in the generated code enables Replacement Name: int64 parameter.
Command-Line Information
Parameter:
ReplacementTypes, replacementName.int64 |
Type: character vector |
Value: The name of a
Simulink.NumericType object, where the object exists in
the base workspace. |
Default:
'' |
Recommended Settings
Application | Setting |
---|---|
Debugging | Noimpact |
Traceability | A valid character vector |
Efficiency | Noimpact |
Safety precaution | No recommendation |