How to remove fading effect in Variant subsystem
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
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 Kommentare
Antworten (1)
Dinesh
am 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 Kommentare
Siehe auch
Kategorien
Mehr zu Programmatic Model Editing finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!