Is it possible to convert Matlab classes to C/C++ code using the Matlab Coder App?
Show older comments
I am try to convert my classes into C/C++ code. I have tried creating a function that calls the class, but when I convert this function the class does not convert only the function. So I was wondering if it is possible to convert a Matlab class to C/C++ using the Matlab Coder App?
3 Comments
Guillaume
on 27 Jul 2018
I have no idea about the answer to your question as I know nothing about matlab coder. However, I do know that C and C++ are two different languages despite some superficial similarities. Plenty of valid C code is not valid C++ and most C++ is not valid C.
So which language do you want?
Rhys Kirkpatrick
on 27 Jul 2018
Albert Fan
on 27 Jul 2018
Maybe this is helpful for you?
https://www.mathworks.com/help/compiler_sdk/gs/create-a-cc-application-with-matlab-code.html
Answers (0)
Categories
Find more on MATLAB Coder in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!