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

6 次查看(过去 30 天)
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

采纳的回答

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

请先登录,再进行评论。

更多回答(1 个)

Simon
Simon 2011-6-21
it is a Windows 64bit with Matlab 2010a installed.

类别

Help CenterFile Exchange 中查找有关 MATLAB Compiler 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by