require a 'clr' option when complie the code

조회 수: 1 (최근 30일)
Fan Sudi
Fan Sudi 2012년 11월 22일
Hello,
Today,I complie the .cpp file to a mexFunction,but it need 'clr' option.How to do ?

답변 (1개)

Image Analyst
Image Analyst 2012년 11월 22일
Why do you think that it needs a clr option? "clr" is not even an option for mcc or mex. What is your compilation command?
  댓글 수: 3
Fan Sudi
Fan Sudi 2012년 11월 22일
I test the code in Visual Studio C++ 2010,it works well.I know how to set the option in Visual Studio C++ 2010,but fail in matlab after read the website u gave .

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 MATLAB Compiler SDK에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by