Main Content

Number of bits: ptrdiff_t

Description

Describe the bit-length of ptrdiff_t data for the selected hardware.

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 than 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: ProdBitPerPtrDiffT
Type: integer
Value: any valid value
Default: 64

Recommended Settings

ApplicationSetting
DebuggingNo impact
TraceabilityNo impact
EfficiencyNo impact
Safety precaution

No recommendation for simulation without code generation.
For simulation with code generation, select your Device vendor and Device type if they are available in the drop-down list.  If your Device vendor and Device type are not available, set device-specific values by using Custom Processor.

See Also