Replacement Name: int64
Name for int64 data type in generated code
Model Configuration Pane: Code Generation / Data Type Replacement
Description
The Replacement Name: int64 parameter specifies the name to use for the built-in data type int64 in the generated code.
Dependencies
To enable this parameter, select the Specify custom data type names parameter.
Settings
If a value is not specified, the code generator uses the Code Generation Name:
- int64_Tif Data type replacement is- Use coder typedefs.
- int64_tif Data type replacement is- Use C data types with fixed-width integers.
You can specify a replacement name by using one of the following:
- A - Simulink.NumericTypeobject.
- The Simulink Name built-in data type name. 
To use a Simulink.NumericType object:
- Set these properties: - DataTypeMode––- Fixed-point: binary point scaling
- Signedness––- Signed
- WordLength––- 64
- IsAlias––- true
- HeaderFile–– Name of header file that provides type definition.
 
- In the Replacement Name column, specify the object name. 
To use the Simulink Name, in the Replacement
                Name column, specify int64.
An error occurs, if:
- A replacement data type specification is inconsistent with the Simulink Name data type. 
- The object is - Simulink.AliasType.
Recommended Settings
| Application | Setting | 
|---|---|
| Debugging | Noimpact | 
| Traceability | A valid character vector | 
| Efficiency | Noimpact | 
| Safety precaution | No recommendation | 
Programmatic Use
| Parameter: ReplacementTypes, replacementName.int64 | 
| Type: character vector | 
| Value: The name of a Simulink.NumericTypeobject, where the object exists in the base workspace. | 
| Default: '' | 
Version History
Introduced in R2018b