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

1 vue (au cours des 30 derniers jours)
Anon
Anon le 16 Sep 2016
Commenté : Walter Roberson le 21 Sep 2016
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.

Réponses (1)

Jordan Ross
Jordan Ross le 21 Sep 2016
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 commentaires
Anon
Anon le 21 Sep 2016
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.
Walter Roberson
Walter Roberson le 21 Sep 2016
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.

Connectez-vous pour commenter.

Catégories

En savoir plus sur MATLAB Compiler dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by