How to select compiler if not available on the list provided by mex -setup ??

6 visualizaciones (últimos 30 días)
Hi, i have just downloaded the matlab toolbox:
The mex function is asking me for a compiler. Microsoft Visual C++ express 2010 is already installed. I have followed the instructions of the Mex-setup function which is unable to locate this compiler. How can i compile the few .cpp file i need? Or how can find my compiler? Thanks

Respuesta aceptada

Walter Roberson
Walter Roberson el 21 de Jun. de 2011
Is your system 32 bit Windows or 64 bit?
  11 comentarios
Walter Roberson
Walter Roberson el 22 de Jun. de 2011
I would suggest doing it the way Venn suggests. Go in to yvals.h and find the line that has
#include <matrix.h>
and change it to
namespace mat {
#include <matrix.h>
}
Simon
Simon el 22 de Jun. de 2011
yvals.h does not have such line. I have posted a question for Venn, hopefully he will answer me.
Thanks a lot!

Iniciar sesión para comentar.

Más respuestas (1)

Simon
Simon el 21 de Jun. de 2011
it is a Windows 64bit with Matlab 2010a installed.

Categorías

Más información sobre MATLAB Compiler en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by