Error using mex for compiling unravel.c
Mostrar comentarios más antiguos
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 comentarios
Walter Roberson
el 22 de Dic. de 2012
Please show us the complete output of the mex command.
Vinh Nguyen
el 23 de Dic. de 2012
Editada: Image Analyst
el 24 de Dic. de 2012
Walter Roberson
el 23 de Dic. de 2012
Odd. What does
mex -setup
show ?
Vinh Nguyen
el 24 de Dic. de 2012
Walter Roberson
el 24 de Dic. de 2012
You got that for
mex -setup
and it did not ask you which compiler to use?
Image Analyst
el 24 de Dic. de 2012
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
el 24 de Dic. de 2012
Walter Roberson
el 24 de Dic. de 2012
What directory are you in at the time you try to do the compile?
Vinh Nguyen
el 24 de Dic. de 2012
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre MATLAB Compiler en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!