Largest atomic size: integer - MATLAB & Simulink (original) (raw)

Main Content

Description

Specify the largest integer data type that can be atomically loaded and stored on the selected hardware.

Category: Hardware Implementation

Settings

Default: Char

Char

Specifies that char is the largest integer data type that can be atomically loaded and stored on the hardware.

Short

Specifies that short is the largest integer data type that can be atomically loaded and stored on the hardware.

Int

Specifies that int is the largest integer data type that can be atomically loaded and stored on the hardware.

Long

Specifies that long is the largest integer data type that can be atomically loaded and stored on the hardware.

LongLong

Specifies that long long is the largest integer data type that can be atomically loaded and stored on the hardware.

Tip

Use this parameter, where possible, to remove unnecessary double-buffering or unnecessary semaphore protection, based on data size, in generated multirate code.

Dependencies

Command-Line Information

Parameter: ProdLargestAtomicInteger
Type: string
Value: 'Char' | 'Short' 'Int' 'Long' 'LongLong'
Default: 'Char'
Application Setting
Debugging No impact
Traceability No impact
Efficiency Target specific
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 yourDevice vendor and Device type are not available, set device-specific values by using Custom Processor.

See Also