Main Content

Number of bits: size_t


Describe the bit-length of size_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 ProdBitPerSizeT setting.

Category: Hardware Implementation


Default: 64

Value must be 8, 16, 24, 32, 40, 64, or 128 and greater than or equal to the value of int.


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

Recommended Settings

DebuggingNo impact
TraceabilityNo impact
EfficiencyNo 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