Hi Oli. You don't run nvcc in MATLAB, since it isn't a MATLAB feature. You run it at a Windows Command Prompt (or Powershell). Use it to generate a PTX file and then load that into MATLAB using the CUDAKernel feature. To use this properly is an Advanced skill because it requires you to understand a bit about CUDA code and CUDA kernels.