Number of bits: size_t
R2026bBit 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 | 128Selecting 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
| Application | Setting |
|---|---|
| Debugging | No impact |
| Traceability | No impact |
| Efficiency | No impact |
| Safety precaution |
No recommendation for simulation without code generation. |
Programmatic Use
Parameter:
ProdBitPerSizeT
|
| Type: integer |
Value:
8 | 16 | 24 |
32 | 40 | 64 |
128 |
| Default: 64 |
Version History
Introduced in R2006b
See Also
Topics
- Hardware Implementation Pane
- Hardware Implementation Options (Simulink Coder)
- Specifying Production Hardware Characteristics (Simulink Coder)
- Verification of Code Generation Assumptions (Embedded Coder)