Byte ordering
Description
Describe the byte ordering for the hardware that you use to test code.
Category: Hardware Implementation
Settings
Default:
Little Endian
Unspecified
Specifies that the code determines the endianness of the hardware. This choice is the least efficient.
Big Endian
The most significant byte comes first.
Little Endian
The least significant byte comes first.
Note
For guidelines about configuring Production hardware controls for code generation, see Hardware Implementation Options (Simulink Coder).
Dependencies
Selecting a device by using the Device vendor and Device type parameters sets a device-specific value for this parameter.
This parameter is enabled only if you can modify it for the selected hardware.
Command-Line Information
Parameter:
TargetEndianess |
Value:
'Unspecified' | 'LittleEndian' |
'BigEndian' |
Default:
'LittleEndian' |
Recommended Settings
Application | Setting |
---|---|
Debugging | No impact |
Traceability | No impact |
Efficiency | No impact |
Safety precaution | No impact when Test hardware is the same as production hardware is selected. If it is not selected, no recommendation. |
Related Topics
- Specifying Test Hardware Characteristics (Simulink Coder)
- Hardware Implementation Options (Simulink Coder)
- Hardware Implementation Pane