How can I control aspects of my simulation in generated code?
Show older comments
Hi,
I have a simulation in which I am planning to run in generated code. Is there any way that I can access the simulation through the executable, such as through a inserting Matlab code or an external function that would change a variable and update the simulation from that point?
For example, a constant block that takes a variable from the workspace, is there any way to change the value of the constant during the simulation in the generated executable?
Accepted Answer
More 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!