Can I change variables directly in the C-Code I generated with Simulink Coder?
Afficher commentaires plus anciens
I generated C-Code from a Simulink model using Simulink Coder to run as a standalone on Raspberry Pi. Now I would like to change some of the constants I used for example in my gain blocks. To do that I need to find the constants in my C-Code, but I haven't yet. In my gain blocks are variables which normally reference to values in a .m-file when I simulate it with my PC. Is there any chance to find these variables in my C-Code? If yes, I expect that they don't have the same name I gave them in my Simulink-file.
Réponse acceptée
Plus de réponses (1)
Eshwar
le 19 Juil 2016
0 votes
hello, I am facing some problems in editing the generated C code from simulink coder. So, is there any book or some other source that you would like to recommend to help me with understanding and editing the C code.
P.S: I am trying to perform the HiL test for a certain Plant.
-- Eshwar
Catégories
En savoir plus sur Raspberry Pi Hardware dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!