require a 'clr' option when complie the code

1 次查看(过去 30 天)
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 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by