mex -setup is not locating my 64 bit MS visual c++ compiler

1 view (last 30 days)
>> mex -setup
Please choose your compiler for building external interface (MEX) files:
When I run the mex-setup then following options are shown, but it is not getting the 64bit version of c++ compiler, do any body help me out of it plz
Would you like mex to locate installed compilers [y]/n? y
Select a compiler:
[1] Microsoft Visual C++ 2010 Express in C:\Program Files (x86)\Microsoft Visual Studio 10.0
[0] None
Environment Details are:
Windows 10
Matlab r2010a 64 bit
Microsoft Visual c++ 2010 64bit

Accepted Answer

Walter Roberson
Walter Roberson on 1 Dec 2015
Matlab r2010a is not support on Windows 10. Only MATLAB R2015b is currently supported on Windows 10.
If I recall, I did hear of one person who was able to get a compiler working with R2015a and Windows 10, but I do not recall anyone managing to get a compiler working with an earlier version. There are difficulties with .NET compatibility (that are sometimes solvable it appears), and there has been a difficulty with a bug in Windows 10. The Windows 10 bug might have been fixed in the November update, the one that was taken away again a few days later.
Getting R2010a to work with a compiler on Windows 10 might not be possible.
  2 Comments
asmat zahra
asmat zahra on 1 Dec 2015
so reverting my changes back to windows7 is the solution or getting the trial version of matlab r2015b
Walter Roberson
Walter Roberson on 1 Dec 2015
Unless you want to fight with it for a number of hours with no certainty that it can be done.

Sign in to comment.

More Answers (0)

Categories

Find more on MATLAB Compiler in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!