Clear Filters
Clear Filters

How to avoid "Warning: Overriding Parameters"

5 views (last 30 days)
Robert Ferguson
Robert Ferguson on 28 Jan 2013
Answered: W. Feng on 18 Jun 2018
I am changing the spring rate on a Joint Spring & Damper using the set_param command during the execution of a simulation. The parameters I am changing are shown as "tunable" but this generates "Warning: Overriding parameters of "component name" which is inside a library link..." I can perform similar changes on other components without generating a warning.
What is the correct way to make these changes to avoid the warning. I am using MATLAB/SIMULINK Version R2011b. The simulation appears to run correctly with the parameter values updated per intent. I am wanting to make sure the warning is not indicating a hidden problem with the simulation and, if not, suppress it.

Answers (1)

W. Feng
W. Feng on 18 Jun 2018
If this is nor affect your calculation. you only Need to use the Code of 'warning off'.

Products

Community Treasure Hunt

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

Start Hunting!