Hi, I’m just trying to run my first CUDA code in MATLAB it’s not working. I get the following result:

system(‘nvcc’)

/bin/bash: nvcc: command not found

ans =

127

I followed the CUDA installation instructions and added the 2 PATH lines to my .bash_profile, but still MATLAB doesn’t seem to find it. I read somewhere that Mavericks uses launchd.conf for such things? Any help would be much appreciated.

I’m using MATLAB 2013b, OS X 10.9 and CUDA 6.0.