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 Comment

Which MATLAB version are you using? If you are using an older MATLAB then VE2010 might not have been supported.

Sign in to comment.

Answers (1)

Jan
Jan on 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 Comment

64-bit information http://www.mathworks.com/support/compilers/R2011b/win64.html

Sign in to comment.

Categories

Asked:

on 21 Jan 2012

Community Treasure Hunt

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

Start Hunting!