Hi, I am running R2011a with Windows 8(64 bit). I have installed MS visual c++ 2012 express but when i run "mex -setup" on matlab it's reported this message:
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/R2011a/win64.html
Please choose your compiler for building MEX-files:
Would you like mex to locate installed compilers [y]/n? n
Select a compiler: [1] Intel C++ 11.1 (with Microsoft Visual C++ 2008 SP1 linker) [2] Intel Visual Fortran 11.1 (with Microsoft Visual C++ 2008 SP1 linker) [3] Intel Visual Fortran 11.1 (with Microsoft Visual C++ 2008 Shell linker) [4] Microsoft Visual C++ 2005 SP1 [5] Microsoft Visual C++ 2008 SP1 [6] Microsoft Visual C++ 2010 [7] Microsoft Visual C++ 2010 Express
[0] None
Compiler: 7
Warning: The default location for Microsoft Visual C++ 2010 Express compiler is: "C:\Program Files\Microsoft Visual Studio 10.0" but either that directory does not exist or the configuration is invalid.
I don't understand why VS 2012 is not in this list and nobody of this compilers works. Can anyone could help me please? I've already seen other relative post, but they were useness because they were for windows 7. Thanks
Best Answer