Contenuto principale

Byte ordering

R2026b

Byte ordering for selected hardware

Model Configuration Pane: Hardware Implementation

Description

The Byte ordering parameter describes the byte ordering for the selected hardware.

Dependencies

This parameter is enabled only if you can modify it for the selected hardware.

Settings

Little Endian (default) | Unspecified | Big Endian

Selecting a device by using the Device vendor and Device type parameters sets a device-specific value for this parameter.

Little Endian

The least significant byte appears first in the byte ordering.

Unspecified

The code determines the endianness of the hardware. This choice is the least efficient.

Big Endian

The most significant byte appears first in the byte ordering.

Recommended Settings

ApplicationSetting
DebuggingNo impact
TraceabilityNo impact
EfficiencyNo impact
Safety precaution

No recommendation for simulation without code generation.
For simulation with code generation, select your Device vendor and Device type if they are available in the drop-down list. If your Device vendor and Device type are not available, set device-specific values by using Custom Processor.

Programmatic Use

Parameter: ProdEndianess
Type: string | character vector
Value: "Unspecified" | "LittleEndian" | "BigEndian"
Default: 'Little Endian'

Version History

Introduced in R2006b