Kindly visit the documentation link below to know more about working with Frames in Simscape:
The Variant Connector block lets you define variant choices in a physical network. Variant choices allow you to exclude some components from simulation without physically removing the components from the physical network.Kindly visit the link below for more details: