Hardware acceleration
Option to improve simulation performance by leveraging SIMD instructions
Since R2021a
Model Configuration Pane: Simulation Target
Description
This parameter specifies the type of hardware acceleration to use in simulation. Hardware acceleration improves simulation performance by leveraging SIMD instructions.
Settings
Leverage generic hardware (Faster, no rebuild)
| Leverage native hardware (Fastest, rebuild allowed)
| Off
Leverage generic hardware (Faster, no rebuild)
The software leverages SIMD instructions for hardware generic to Simulink® system requirements. When you select this setting, you do not need to rebuild the model for simulation when the host computer changes.
Leverage native hardware (Fastest, rebuild allowed)
The software leverages SIMD instructions for hardware native to the host computer. This setting provides the best simulation performance but might require rebuilding the model for simulation when the host computer changes.
Off
The software does not use hardware acceleration.
Recommended Settings
Application | Setting |
---|---|
Debugging | No recommendation |
Traceability | No impact |
Efficiency | No impact |
Safety precaution | No recommendation |
Programmatic Use
Parameter: SimHardwareAcceleration |
Type: string | character vector |
Values: 'off' | 'generic' | 'native' |
Default: 'generic' |
Version History
Introduced in R2021a