mex -setup does no find Microsoft Visual C++ Express 2010

조회 수: 1 (최근 30일)
John Fox
John Fox 2016년 3월 19일
댓글: Walter Roberson 2016년 3월 19일
My Matlab 2013a needs Microsoft Visual C++ 2008, 2010, or 2012. Microsoft Visual C++ Express 2010 is free so I installed that. However mex -setup does not find it.
Is there an option file to edit to point to this compiler? I found c:\users\jwf10\AppData\roaming\MathWorks\Maltab\R2013a\mexopts.bat.
This looks right, but I do not know the compiler flags for Visual C++ Express 2010.

채택된 답변

Walter Roberson
Walter Roberson 2016년 3월 19일
None of the VS Express compilers have been supported for a fair number of years now. See http://www.mathworks.com/support/compilers/R2013a/index.html?sec=win32 for the compilers supported in your version. Notice there that the no-charge SDK 7.1 is supported, so I recommend you install that.
  댓글 수: 2
John Fox
John Fox 2016년 3월 19일
You suggested Microsoft SDK 7.1. I first installed SDK 8.1. mex -setup did not find it. I then installed SDK 7.1 This time mex -setup did find this compiler! However when I then did mex innerpart.c I got the following error:
unresolved external symbol _mxCreateDoubleMatrix_700 referenced in function _mexFunction
innerpart.mexw32 : fatal error LNK1120: 1 unresolved externals
Any suggestions. It appears the Matlab function _mxCreateDoubleMatrix_700 can not be found.
Walter Roberson
Walter Roberson 2016년 3월 19일
Sorry, I do not find information about where that is defined.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Troubleshooting in MATLAB Compiler SDK에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by