How to remove fading effect in Variant subsystem
1 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(1 个)
Dinesh
2024-7-3
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 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Programmatic Model Editing 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!