I was trying to setup the compiler to compile C++ mex-files. I installed the MATLAB in my HOME directory and I see that I have a g++ compiler supported for this version is installed on my computer, but the problem is when I use the command mex -setup, it is not able to find the g++ compiler on my machine. Its finding only the in-built compilers with MATLAB. I don't know if I may need to set the path somewhere to find the g++ compiler on my computer.
MATLAB: Does the MEX -SETUP command not list the g++ compiler in LINUX
-setupcompilerfileg++linuxMATLABmexoptionsr2007bunix
Best Answer