주요 콘텐츠

Number of bits: size_t

R2026b

Bit length of size_t data type for selected hardware

Model Configuration Pane: Hardware Implementation

Description

The Number of bits: size_t parameter describes 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.

Dependencies

This parameter is enabled only if you can modify it for the selected hardware.

Settings

64 (default) | 8 | 16 | 24 | 32 | 40 | 128

Selecting a device by using the Device vendor and Device type parameters sets a device-specific value for this parameter.

Value must be greater than or equal to the value of Number of bits: int.

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.

Programmatic Use

Parameter: ProdBitPerSizeT
Type: integer
Value: 8 | 16 | 24 | 32 | 40 | 64 | 128
Default: 64

Version History

Introduced in R2006b