How to keep user code remained after rebuiding model/regenerating code?
Ältere Kommentare anzeigen
Hi everyone,
I'm using Simulink to automatically generate code. After code generation, my user code will be added into a source file (for example main.c). But once the Simulink model has been rebuilt, all the user code is deleted, so that I have to write it every time.
I wonder if there is a way to keep user code remained after rebuiding the model/regenerating code?
Thanks a lot!
1 Kommentar
Sam
am 21 Nov. 2017
Is there anyone who has a good idea about it?
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Texas Instruments C2000 Processors finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!