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

1 回表示 (過去 30 日間)
Simon
Simon 2011 年 6 月 21 日
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 Center および File ExchangeMATLAB Compiler についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by