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