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.
MATLAB: 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
%sfunctionmfiles-fcnsimulinktune
Related Question
- Set_param and callback argument
- Am I unable to change the default value of a block parameter using the SET_PARAM function in Simulink 5.1 (R13SP1)
- How to make the ‘S-function name’ parameter in the S-function block variable
- Using set_param for multiple variables.
- How to set a parameter of a masked subsystem from the parent masked subsystem in Simulink
- Error in Using set_param
Best Answer