Is there an example of using SET_PARAM command in a MATLAB file S-function to update a parameter of any block in the model?
Show older comments
I have a Rate Limiter block in my model and I would like to change the Initial Condition parameter externally while the simulation is running. I am aware that I can use SET_PARAM command in MATLAB file S-function to change the parameter value. I would like to an example demonstrating this usage.
Accepted Answer
More Answers (0)
Categories
Find more on Simulink Functions 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!