Azzera filtri
Azzera filtri

How to change the init values of generated code from Simulink model?

2 visualizzazioni (ultimi 30 giorni)
Hello, at the moment some initialization values are defined by the InitFcn pane (.mat file gets loaded) at the Model Properties/Callbacks window of a Simulink model. The embedded coder (system target file ert.tlc) is used to generate C code to run on the Raspberry Pi. This works, but to change the init values of the program I have to alter them in the model and recompile it to C.
My purpose is to change the init values in an .ini file on the target system. Unfortunately I can't find any file in the generated code which seems to contain the init values.
I hope there is any way to do that.
Thanks in advance for your answers!

Risposte (0)

Categorie

Scopri di più su Deployment, Integration, and Supported Hardware in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by