Number of bits: int
Bit length of C int
data type for test hardware
Model Configuration Pane: Hardware Implementation
Description
The Number of bits: int parameter specifies the bit length of the
C int
data type for the hardware that you use to test code.
Selecting a device by using the Device vendor and Device type parameters sets a device-specific value for this parameter.
Dependencies
This parameter is enabled only if you can modify it for the selected hardware.
Settings
32
(default) | 8
| 16
| 24
The bit length must be an integer multiple of 8
that is less than
or equal to 32
. Different devices have different settings available
for this parameter.
Recommended Settings
Application | Setting |
---|---|
Debugging | No impact |
Traceability | No impact |
Efficiency | Target specific |
Safety precaution | No impact when Test hardware is the same as production hardware is selected. If it is not selected, no recommendation. |
Programmatic Use
Parameter:
TargetBitPerInt |
Type: integer |
Values:
8 | 16 | 24 |
32 |
Default:
32 |
Version History
Introduced in R2008a
See Also
Topics
- Specifying Test Hardware Characteristics (Simulink Coder)
- Hardware Implementation Options (Simulink Coder)
- Hardware Implementation Pane