Cell Array not supported with Matlab Coder

2 Ansichten (letzte 30 Tage)
Ayush Mahendru
Ayush Mahendru am 15 Apr. 2021
Beantwortet: Mukund Sankaran am 19 Apr. 2021
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.

Antworten (1)

Mukund Sankaran
Mukund Sankaran am 19 Apr. 2021
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.

Kategorien

Mehr zu Simulink Coder finden Sie in Help Center und File Exchange

Produkte


Version

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by