Error using mex for compiling unravel.c
이전 댓글 표시
Hi all, I am trying to run mex compiler for unravel.c. However, it always show the error:Error using mex (line 206)Unable to complete successfully.
Although I have try some solution such as download update for Microsoft Visual Studio 2010, the problem keep happening.
Can anyone please help me?
Thank you
PS: I am running MATLAB R2012a and using Microsoft Visual Studio 2010 Express Edition on a 64bit laptop (windows 7).
댓글 수: 9
Walter Roberson
2012년 12월 22일
Please show us the complete output of the mex command.
Vinh Nguyen
2012년 12월 23일
편집: Image Analyst
2012년 12월 24일
Walter Roberson
2012년 12월 23일
Odd. What does
mex -setup
show ?
Vinh Nguyen
2012년 12월 24일
Walter Roberson
2012년 12월 24일
You got that for
mex -setup
and it did not ask you which compiler to use?
Image Analyst
2012년 12월 24일
That's strange - on my computer, it says this:
>> mex -setup
Welcome to mex -setup. This utility will help you set up
a default compiler. For a list of supported compilers, see
http://www.mathworks.com/support/compilers/R2012b/win64.html
Please choose your compiler for building MEX-files:
Would you like mex to locate installed compilers [y]/n? y
Are you sure it didn't just fail to compile because you have a syntax error?
Vinh Nguyen
2012년 12월 24일
Walter Roberson
2012년 12월 24일
What directory are you in at the time you try to do the compile?
Vinh Nguyen
2012년 12월 24일
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 MATLAB Compiler에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!