Tune parameters after compiling Simulink-model to c code

1 view (last 30 days)
Hi!
I am working on a project where I'm going to simulate a submarine in SimuLink. This simulator is then going to be compiled to C-code and run on another host machine (without MatLab/SimuLink). This demands that I can change alot of the parameters and variables after compiling the model, and preferably as the model is running. I've managed to get a model running and saving the output to a text file, no problem there. I can also change the parameters, but I then have to recompile the model to be able to see the results from the changes. So, is there any easy way of being able to change the parameters/variables of the model after it's compiled?
Very happy to get some help, been struggling with this for a couple of days!
/Magnus

Answers (0)

Categories

Find more on Simulink Coder in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!