How to remove fading effect in Variant subsystem
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaires
Réponses (1)
Dinesh
le 3 Juil 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 commentaires
Voir également
Catégories
En savoir plus sur Programmatic Model Editing dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!