Main Content

Hardware acceleration

Description

Turn hardware acceleration off or select the level of hardware acceleration in simulation. Hardware acceleration allows you to leverage SIMD instructions to improve simulation performance.

Hardware acceleration does not leverage SIMD instructions when LCC is configured as the MEX compiler.

Settings

Default: Off

Off

Turn off hardware acceleration.

Leverage generic hardware (Faster, no rebuild)

Leverage SIMD instructions for hardware generic to Simulink® system requirements. This option does not require you to rebuild the model for simulation when the host computer changes.

Leverage native hardware (Fastest, rebuild allowed)

Leverage SIMD instructions for hardware native to the host computer for best simulation performance. This option may require rebuilding the model for simulation when the host computer changes.

Command-Line Information

Parameter: SimHardwareAcceleration
Value: 'off' | 'generic' | 'native'
Default: 'off'

Recommended Settings

ApplicationSetting
DebuggingOn
TraceabilityNo impact
EfficiencyNo impact
Safety precautionOn

Related Topics