Simulink Coder customize gcc variable attributes

16 次查看(过去 30 天)
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.

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Simulink Coder 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by