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?

Antworten (0)

Kategorien

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

Produkte

Gefragt:

am 19 Dez. 2016

Bearbeitet:

am 19 Dez. 2016

Community Treasure Hunt

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

Start Hunting!

Translated by