Number of bits: ptrdiff_t
Description
Describe the bit-length of ptrdiff_t
data for the hardware that
you use to test code.
If ProdEqTarget
is off
, an Embedded Coder® processor-in-the-loop (PIL) simulation checks this setting with
reference to the target hardware. If ProdEqTarget
is
on
, the PIL simulation checks the
ProdBitPerPtrDiffT
setting.
Category: Hardware Implementation
Settings
Default: 64
Value must be 8, 16, 24, 32, 40, 64, or 128 and greater or
equal to the value of int
.
Dependencies
Selecting a device by using the Device vendor and Device type parameters sets a device-specific value for this parameter.
This parameter is enabled only if you can modify it for the selected hardware.
Command-Line Information
Parameter:
TargetBitPerPtrDiffT |
Type: integer |
Value: any valid value |
Default: 64 |
Recommended Settings
Application | Setting |
---|---|
Debugging | No impact |
Traceability | No impact |
Efficiency | No impact |
Safety precaution | No impact when Test hardware is the same as production hardware is selected. If it is not selected, no recommendation. |
Related Topics
- Specifying Test Hardware Characteristics (Simulink Coder)
- Hardware Implementation Options (Simulink Coder)
- Hardware Implementation Pane
- Verification of Code Generation Assumptions (Embedded Coder)