How can I point Matlab to my compiler?

조회 수: 6 (최근 30일)
Madhav Achar
Madhav Achar 2015년 8월 5일
답변: Harsheel 2015년 8월 5일
I have installed Visual C++ 2008 Express Edition with SP1 and Windows SDK 6.1. I was also able to locate my compiler (cl.exe) in C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin. According to the site http://www.mathworks.com/support/compilers/R2013b/index.html, that should be fine, however, when I run mex -setup I still receive the error Error using mex. No supported compiler or SDK was found. Does anyone have any advice or solution on how to point Matlab to the installed compiler? Thanks!

답변 (1개)

Harsheel
Harsheel 2015년 8월 5일
R2013b supports Visual C++ 2008 Professional SP1 Edition. You have express edition which is different. You need to install the Professional Edition.
Alternatively, you can install Windows SDK 7.1 for free by following the steps listed here .

카테고리

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