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?

Antworten (0)

Kategorien

Mehr zu Simulink Coder finden Sie in Hilfe-Center und File Exchange

Produkte

Gefragt:

am 24 Jul. 2018

Community Treasure Hunt

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

Start Hunting!

Translated by