GPU from MATLAB(R) example

Simple example showing how to access the GPU from MATLAB

You are now following this Submission

This is a simple example showing how to access the GPU from MATLAB. This example requires a Freeware library called GPUmat, that can be downloaded from http://gp-you.org

The example shows the following:
- Creating variables on the GPU memory
- Performing operations on the GPU: FFT, matrix multiplication, element-by-element multiplication, on both real and complex numbers

Cite As

The GP-you Group (2026). GPU from MATLAB(R) example (https://www.mathworks.com/matlabcentral/fileexchange/24028-gpu-from-matlab-r-example), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0