Warning "Parameterizing Model References"

4 views (last 30 days)
Hi everybody
I would like to remove the following warning which always appears when I run my Simulink model:
Warning: Ignoring settings in the tunable parameters table for model 'Current_controller' because it references or is referenced by another model. See "Parameterizing Model References" in the Simulink documentation for information on tuning global parameters in a model reference hierarchy.
My model is actually running as I want and I only use the tunable parameter for the C-code generation (Simulink Coder).
To be clear, I do not want to change anything in my model but just remove the Warning. I did not find any related option in the Diagnostics options of my simulink model.
Can anybody explain me how to remove this warning?
Regards
Jérôme

Accepted Answer

Jérôme Marchand
Jérôme Marchand on 10 Oct 2013
After several tries, I can answer this question by myself.
To disable only the last warning the 2 following command can be used:
w = warning('query','last');
warning('off',w.identifier);
Jérôme

More Answers (0)

Categories

Find more on Simulink Coder in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!