Number of bits: char
R2026bBit length of char data type for selected hardware
Model Configuration Pane: Hardware Implementation
Description
The Number of bits: char parameter describes the character bit length for the selected hardware.
Dependencies
This parameter is enabled only if you can modify it for the selected hardware.
Settings
8 (default) |
16 |
24 |
32Selecting a device by using the Device vendor and Device type parameters sets a device-specific value for this parameter.
Enter a value that is a multiple of 8 from a minimum of 8 through a maximum of 32.
Recommended Settings
| Application | Setting |
|---|---|
| Debugging | No impact |
| Traceability | No impact |
| Efficiency | Target specific |
| Safety precaution | No
recommendation for
simulation without code generation. |
Programmatic Use
Parameter:
ProdBitPerChar
|
| Type: integer |
Value:
8 | 16 | 24 |
32 |
Default:
8
|
Version History
Introduced in R2006b
See Also
Topics
- Hardware Implementation Pane
- Hardware Implementation Options (Simulink Coder)
- Specifying Production Hardware Characteristics (Simulink Coder)