how can I force MATLAB to generate code of one element array?

Hello I have one variable defined for Data store memory, and declared as exported global, which will be used in legacy c code, and this variable is assigned initial value as one element array, but MATLAB while generating code for one element array it makes it into scalar, but i want it to be generated as one element array, How can I force MATLAB to generate code of one element array, and not make it into scalar?

Respuestas (0)

Categorías

Más información sobre Simulink Coder en Centro de ayuda y File Exchange.

Productos

Preguntada:

el 24 de Jul. de 2018

Community Treasure Hunt

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

Start Hunting!

Translated by