Unable to find compiler

I am using windows 7 64 bit and installed visual c++ express edition 2010 but still when i give mex -setup i am unable to find any compiler. I get the following error:
mex -setup Please choose your compiler for building external interface (MEX) files:
Would you like mex to locate installed compilers [y]/n? y
Select a compiler:
[0] None
Compiler: 0
mex: No compiler selected. No action taken.

1 commentaire

Walter Roberson
Walter Roberson le 21 Jan 2012
Which MATLAB version are you using? If you are using an older MATLAB then VE2010 might not have been supported.

Connectez-vous pour commenter.

Réponses (1)

Jan
Jan le 21 Jan 2012

0 votes

Did you install the SDK 7.1 also as explained here? If you only want to compile C++ MEX files, the SDK is sufficient, because it cotains the required compilers.

1 commentaire

Ken Atwell
Ken Atwell le 21 Jan 2012
64-bit information http://www.mathworks.com/support/compilers/R2011b/win64.html

Connectez-vous pour commenter.

Catégories

En savoir plus sur Troubleshooting in MATLAB Compiler SDK dans Centre d'aide et File Exchange

Question posée :

le 21 Jan 2012

Community Treasure Hunt

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

Start Hunting!

Translated by