Main Content

Byte ordering

Description

Describe the byte ordering for the hardware that you use to test code.

Category: Hardware Implementation

Settings

Default: Unspecified

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: 'Unspecified'

Recommended Settings

ApplicationSetting
DebuggingNo impact
TraceabilityNo impact
EfficiencyNo 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