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

조회 수: 3 (최근 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 CenterFile Exchange에서 Write 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