Main Content
Simulink.VariantUtils Class
Namespace: Simulink
Description
The Simulink.VariantUtils
class provides a set of utility methods to work
with variant blocks in Simulink®. With these methods you can:
Convert a Subsystem, Model, or Configurable Subsystem block to a Variant Subsystem block.
Convert a Variant Subsystem block to a Variant Assembly Subsystem block.
Display or change behavior of variant condition legend.
Update ports in a Variant Subsystem block to match its variant choices.