Matlab Coder support for object arrays

Wondering if MATLAB Coder supports object arrays. I'm looking to convert some of my code (for a chess program), which includes object arrays, to C++ for performance reasons. Based on the documentation, it appears that it doesn't. But this suggests to me that 2017b may?
If not, does anyone know of a workaround?

回答 (1 件)

Michael
Michael 2021 年 6 月 2 日

0 投票

I believe this isn't possible. I think you have to use a cell array of the objects as a work around.

カテゴリ

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

質問済み:

2017 年 10 月 31 日

回答済み:

2021 年 6 月 2 日

Community Treasure Hunt

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

Start Hunting!

Translated by