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

1 view (last 30 days)
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

Accepted Answer

Walter Roberson
Walter Roberson on 21 Jun 2011
Is your system 32 bit Windows or 64 bit?
  11 Comments
Walter Roberson
Walter Roberson on 22 Jun 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 on 22 Jun 2011
yvals.h does not have such line. I have posted a question for Venn, hopefully he will answer me.
Thanks a lot!

Sign in to comment.

More Answers (1)

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

Categories

Find more on Startup and Shutdown 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!