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

1 Ansicht (letzte 30 Tage)
John Fox
John Fox am 19 Mär. 2016
Kommentiert: Walter Roberson am 19 Mär. 2016
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.

Akzeptierte Antwort

Walter Roberson
Walter Roberson am 19 Mär. 2016
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 Kommentare
John Fox
John Fox am 19 Mär. 2016
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 am 19 Mär. 2016
Sorry, I do not find information about where that is defined.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Troubleshooting in MATLAB Compiler SDK finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by