Number of bits: short
Bit length of C short data type for test hardware
Model Configuration Pane: Hardware Implementation
Description
The Number of bits: short parameter specifies the bit length of the C
                                                  short 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
16 (default) | 8 | 24 | 32The 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: TargetBitPerShort | 
| Type: integer | 
| Values: 8|16|2432 | 
| Default: 16 | 
Version History
Introduced in R2006b
See Also
Topics
- Specifying Test Hardware Characteristics (Simulink Coder)
- Hardware Implementation Options (Simulink Coder)
- Hardware Implementation Pane