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

1 次查看(过去 30 天)
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.

回答(1 个)

Jordan Ross
Jordan Ross 2016-9-21
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 个评论
Anon
Anon 2016-9-21
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 2016-9-21
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.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Communications Toolbox 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by