You cannot run MATLAB programs directly on the GPU.
You can use the Parallel Computing toolbox, and gpuArray(), and apply operations to the gpuArray, and finally gather() the array to get back the result.
Note: GPU Coder is not available for Student or Home licenses
Best Answer