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.

Answers (0)

Categories

Find more on Simulink Coder in Help Center and File Exchange

Asked:

on 16 Aug 2017

Community Treasure Hunt

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

Start Hunting!