How to remove fading effect in Variant subsystem
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
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 Commenti
Risposte (1)
Dinesh
il 3 Lug 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 Commenti
Vedere anche
Categorie
Scopri di più su Programmatic Model Editing in Help Center e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!