You can extend the Simscape modeling environment by creating custom components that do not exist in the Foundation library or in any of the add-on products. The Simscape language lets you define custom components as textual files, complete with parameterization, physical connections, and underlying equations. The components you create can reuse the physical domain definitions provided with Simscape to ensure that your components are compatible with the standard Simscape components. You can also add your own physical domains and provide complete component libraries for these domains.
Deploy the textual component files in block diagrams by converting them into custom Simscape blocks. You can build custom block libraries of your Simscape components, enabling you to share these models across your organization.