Cell Array not supported with Matlab Coder

I have a very complex code where cell arrays are used multiple times. I need to convert this code to C using MATLAB Coder but cell array is not supported with it. The error I get is - 'cell arrays are not supported when using the -singleC flag.'
Is there something that can be done or a workaround?
Any help is appreciated.
Thank You.

回答 (1 件)

Mukund Sankaran
Mukund Sankaran 2021 年 4 月 19 日

0 投票

Hi Ayush. As suggested in this earlier answer, cell array support for -singleC is under active development. Please reach out to support@mathworks.com with your use case and we can let you know if any workarounds are available.

カテゴリ

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

製品

リリース

R2021a

質問済み:

2021 年 4 月 15 日

回答済み:

2021 年 4 月 19 日

Community Treasure Hunt

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

Start Hunting!

Translated by