Is it possible to convert Matlab classes to C/C++ code using the Matlab Coder App?

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 件のコメント

Guillaume
Guillaume 2018 年 7 月 27 日
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
Rhys Kirkpatrick 2018 年 7 月 27 日
C++ would be preferable.
Albert Fan
Albert Fan 2018 年 7 月 27 日
Maybe this is helpful for you?
https://www.mathworks.com/help/compiler_sdk/gs/create-a-cc-application-with-matlab-code.html

サインインしてコメントする。

回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeMATLAB Coder についてさらに検索

製品

リリース

R2018a

質問済み:

2018 年 7 月 27 日

コメント済み:

2018 年 7 月 27 日

Community Treasure Hunt

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

Start Hunting!

Translated by