How to get MATLAB R2015a to use Microsoft Visual C++ 2013 Community for mex?

I think Visual Studio Community is not on the list of supported compilers, but higher versions of GCC are not either and mex is able to use them under Linux. I tried hacking a way to get Matlab R2015a to get to work with Visual Studio Community 2015 but ran into some problems, but I did get it to work with 2013 in the end. So, in case Community 2013 doesn't work out of the box with mex, I could post what I did to get it to work.

Answers (1)

Hell Raghu,
In MATLAB R2015a, Microsoft Visual C++ 2013 Community is not supported. The professional version, however, is supported. For a list of supported compilers for MATLAB R2015a, please see the linked PDF:

2 Comments

Dear Jordan, that's as I suspected. Thanks for confirming. But what I also said is that I hacked a way to make it work (at user's own risk of course). In case someone needs me to make a post, I could do that. Matlab does work under Linux with unsupported GCC versions.
I think I read somewhere that the Community versions of the VS compilers do not support parallel processing; I am not sure if that is true though.

Sign in to comment.

Products

Asked:

on 16 Sep 2016

Commented:

on 21 Sep 2016

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!