How to remove fading effect in Variant subsystem
1 view (last 30 days)
Show older comments
Hi,
Is it possible to remove the fading effect in Variant subsystems ? (all items have a fading effect even if it is the currenty enabled variant subsystem)
If it is, how can i do?
Thanks in advance!
0 Comments
Answers (1)
Dinesh
on 3 Jul 2024
Hello,
As of R2024a, you can turn off the fading effect of inactive variant choices by setting the "VariantFading" value to "off".
set_param('bdroot','VariantFading','off')
'bdroot' is the current active model. You can specify any other model name as well.
Here's the documentation link for the same: https://www.mathworks.com/help/simulink/ug/set-and-open-active-variants.html#:~:text=set_param(%27bdroot%27%2C%27VariantFading%27%2C%27on%27)
0 Comments
See Also
Categories
Find more on Programmatic Model Editing 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!