MATLAB: Can’t MEX find a supported compiler in MATLAB R2015a

matlab r2015amex compilervs2015 community

I have matlab R2015a 64 bit and already downloaded Visual studio community edition 2015. But still When i type mex-setup it shows error "Error using mex No supported compiler or SDK was found. For options, visit http://www.mathworks.com/support/compilers/R2015a/win64.html."
Does VS2015 is not supported by matlab r2015a? Actually, I was trying to install maxconvnet in matlab. But, at the moment i am totally lost. In last three days i just keep on going downloading each and everything. First need to dowload visual studio, CUDA toolkit. I got totally tired and main thing i really couldn't find any detailed articles for begineer even in mathworks. This is totally annoying -_- .
Should i go back to vs2013? or is there anything that may i be missing to configure "mex -setup".

Best Answer

None of the Community Edition versions of Visual Studio have ever been supported. Historically, some of the Express editions were supported, ending around R2012b or so.
VS2015 Professional was not supported by R2015a but it was supported by R2015b.
If you have VS2013 Professional, you can go back to it.
Actually, I was trying to install maxconvnet in matlab.
matconvnet was not designed for installation in MS Windows, but some people have managed to get it to function. Installation is a messy process.
Related Question