require a 'clr' option when complie the code

2 views (last 30 days)
Fan Sudi
Fan Sudi on 22 Nov 2012
Hello,
Today,I complie the .cpp file to a mexFunction,but it need 'clr' option.How to do ?

Answers (1)

Image Analyst
Image Analyst on 22 Nov 2012
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 Comments
Fan Sudi
Fan Sudi on 22 Nov 2012
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 .

Sign in to comment.

Categories

Find more on MATLAB Compiler SDK in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!