mex -setup c++ not working

조회 수: 9 (최근 30일)
Wenjuan
Wenjuan 2017년 2월 23일
댓글: Muhammed Ali Erbir 2018년 12월 6일
Good afternoon. I have installed Microsoft SDK7.1 and .NET framework 4.0. However, Matlab seems can't find it. and when I run mex -setup c++, it shows error message below:
Error using mex No supported compiler or SDK was found. For options, visit http://www.mathworks.com/support/compilers/R2015a/win32.html.
Could anyone let me know what may cause this error? and how to solve it?
The matlab I am using is Matlab 16a, window 7 system.
THanks.
  댓글 수: 3
Walter Roberson
Walter Roberson 2017년 2월 23일
Please show the output of
mex -v -setup c++
Muhammed Ali Erbir
Muhammed Ali Erbir 2018년 12월 6일
SDK is not enough. you have to install visual studio (at least community version)
while installing you have to select "C++ desktop app development" option
compiler for matlab.PNG

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

답변 (1개)

Jan
Jan 2017년 2월 23일
편집: Jan 2017년 2월 23일
There are a lot of concerning threads in the forum (currently 792 - horryfying!):
Did you select the 64-bit compilers during the installation or are you using a 32 bit Matlab? For me it worked to install the SDK after Matlab.

카테고리

Help CenterFile Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기

태그

제품

Community Treasure Hunt

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

Start Hunting!

Translated by