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

2 ビュー (過去 30 日間)
Anon
Anon 2016 年 9 月 16 日
コメント済み: Walter Roberson 2016 年 9 月 21 日
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 Center および File ExchangeWrite C Functions Callable from MATLAB (MEX Files) についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by