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

1 visualización (últimos 30 días)
John Fox
John Fox el 19 de Mzo. de 2016
Comentada: Walter Roberson el 19 de Mzo. de 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.

Respuesta aceptada

Walter Roberson
Walter Roberson el 19 de Mzo. de 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 comentarios
John Fox
John Fox el 19 de Mzo. de 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 el 19 de Mzo. de 2016
Sorry, I do not find information about where that is defined.

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Troubleshooting in MATLAB Compiler SDK en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by