Main Content

Number of bits: size_t


Describe the bit-length of size_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 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: ProdBitPerSizeT
Type: integer
Value: any valid value
Default: 64

Recommended Settings

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