필터 지우기
필터 지우기

mex setup doesn't recognize vs10 compiler

조회 수: 2 (최근 30일)
Cy
Cy 2012년 3월 1일
Why does Matlab (R2011a) not recognize the Visual Studio 2010 C++ compiler installed on my system. I understood there were some issues with R2010 on 64-bit systems that required a patch, but this is a 32-bit machine and R2011a.
I get:
Select a compiler:
[1] Intel C++ 11.1 (with Microsoft Visual C++ 2008 SP1 linker)
[2] Intel C++ 9.1 (with Microsoft Visual C++ 2005 SP1 linker)
[3] Intel Visual Fortran 11.1 (with Microsoft Visual C++ 2008 SP1 linker)
[4] Intel Visual Fortran 11.1 (with Microsoft Visual C++ 2008 Shell linker)
[5] Intel Visual Fortran 10.1 (with Microsoft Visual C++ 2005 SP1 linker)
[6] Lcc-win32 C 2.4.1
[7] Microsoft Visual C++ 6.0
[8] Microsoft Visual C++ 2005 SP1
[9] Microsoft Visual C++ 2008 Express
[10] Microsoft Visual C++ 2008 SP1
[11] Open WATCOM C++
[0] None
or
Select a compiler:
[1] Lcc-win32 C 2.4.1 in C:\PROGRA~1\MATLAB\R2010a\sys\lcc
[2] Open WATCOM C++ in C:\Applications\watcom-1.3
[0] None
but VS 10 never shows up.
Any help would be greatly appreciated.

답변 (1개)

Walter Roberson
Walter Roberson 2012년 3월 1일
I don't think it would not be referring to C:\PROGRA~1\MATLAB\R2010a if you are running R2011a. Please re-check the MATLAB version installed.
  댓글 수: 1
Cy
Cy 2012년 3월 1일
Nice catch. It turns out there are two versions of matlab installed on the system. Changed the build to point to the R2011a and that helped.
Thanks,

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

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by