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!