Why does my SimulationInput not update the model variables when it runs in Simulink Compiler or Rapid Accelerator?
Show older comments
I have a model I am running from within an app using the 'sim' command. To do this, I have made a "SimulationInput" object in the same way that is shown in the documentation here:
The issue is that sometimes when I run my model with the 'sim' command, the variables that I have included in the SimulationInput don't seem to affect the results.
I have been through the debugger and verified that the values being set for this input object are indeed correct.
Furthermore, I can get it to work when my app is in base MATLAB, but when I deploy it to a web app the input values are ignored.
What could be the issue here?
Accepted Answer
More Answers (0)
Categories
Find more on Run-Time Parameters 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!