This example shows how to implement a DC motor model by means of a composite component.
This example shows how you can use
to implement a DC motor model by means of a composite component.
This example shows how to implement variants within a component file by using conditional sections.
A composite component is constructed out of other components.
components declaration block begins with
components keyword and is terminated by an
Composite component parameters let you adjust the desired parameters of the underlying member components from the top-level block dialog box when building and simulating a model.
Member components have to be declared as hidden, and therefore their variables do not appear in the Variables tab of the top-level block dialog box.
The structure section of a Simscape™ file is executed once during compilation.
An import mechanism provides a convenient means to accessing classes defined in different scopes, or namespaces.
Use conditional sections to define variants within component file.