Simulink Coder customize gcc variable attributes

When using Simulink Coder, how can I customize the TLC to generate code such that I can add variable attributes to a variable declaration associated to a signal and/or parameter? Example from "real32_T mdl1_Param1;" to "real32_T mdl1_Param1 _attribute_((section (".param")));" The intention is allocating such variable declarations in custom memory sections.

Réponses (0)

Catégories

En savoir plus sur Simulink Coder dans Centre d'aide et File Exchange

Question posée :

le 16 Août 2017

Community Treasure Hunt

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

Start Hunting!

Translated by