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.

Antworten (0)

Kategorien

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

Gefragt:

am 16 Aug. 2017

Community Treasure Hunt

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

Start Hunting!

Translated by