Speed up the execution of MATLAB Function block on NVIDIA® GPUs by generating CUDA® code. This option requires a GPU Coder™ license.
Category: Simulation Target
Default: Off
Enables simulation acceleration by using GPU Coder. When this option is on, the software generates CUDA MATLAB® executable (MEX) code from the block and dynamically links the generated code to Simulink® during simulation.
Disables simulation acceleration by using GPU Coder. When this option is off, Simulink uses the interpreted code mode normally used in simulations.
Parameter:
GPUAcceleration |
Type: character vector |
Value:
'on' |
'off' |
Default:
'off' |
Application | Setting |
---|---|
Debugging | On |
Traceability | No impact |
Efficiency | No impact |
Safety precaution | On |