필터 지우기
필터 지우기

using mex -setup error

조회 수: 1 (최근 30일)
zhang qi
zhang qi 2015년 1월 28일
댓글: Muhammed Ali Erbir 2018년 12월 6일
when i use this command in matlab,error:Error using mex (line 206) .Unable to complete successfully.but i already set up the sdk,there is no effect.
  댓글 수: 2
Geoff Hayes
Geoff Hayes 2015년 1월 28일
Zhang - if you have already set up the SDK then there may be a problem with an environment variable or something else that isn't obvious. Redo the setup with verbosity enabled and check the output for signs of something missing. Post the results here if unclear what to do next. The command to run is
mex -v -setup
Muhammed Ali Erbir
Muhammed Ali Erbir 2018년 12월 6일
you have to install visual studio including "C++ destop app" option
then retry in MATLAB mex -setup and show compiler in the list to select
compiler for matlab.PNG

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

답변 (1개)

Matz Johansson Bergström
Matz Johansson Bergström 2015년 1월 28일
As the error message says you are missing a suitable compiler to create mex files. See mathworks Mex files.
  댓글 수: 2
zhang qi
zhang qi 2015년 1월 28일
i think the most important thing is how to create the compiler
Titus Edelhofer
Titus Edelhofer 2015년 1월 28일
Hi,
take a look at the list of supported compilers, choose one and install it. Then run mex -setup again.
Titus

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

카테고리

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