Embedded Coder: How to modify SimulinkGlobal-variables in the generated Code

How can I change "SimulinkGlobal" variables in the C++ Code generated by Embedded Coder?
I want to set up values for the variables in the ert_main-file of the code.
Is this even possible or do I need to select "Imported Extern" as storage class?

回答(0 个)

类别

帮助中心File Exchange 中查找有关 Simulink Coder 的更多信息

提问:

2016-12-19

编辑:

2016-12-19

Community Treasure Hunt

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

Start Hunting!

Translated by