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. For a list of typical workflows and tasks, along with links to background information and examples, see Typical Simscape Language Tasks.
To help you get started, the
sscnewfile function lets you create a new Simscape file based on a library of predefined templates for components,
domains, and functions, or based on an existing Simscape file.
|Create new Simscape file populated by required and commonly used keywords|
Brief overview of the modeling language and its purpose.
Overview of how modeling in Simscape language works, using a linear resistor as an example.
Overview of the typical Simscape language workflows, with links to background information and examples.
Overview of the Simscape file types and structure.
Component types, file structure, high-level workflow.
A physical domain provides an environment, defined primarily by its Across and Through variables, for connecting the components in a Physical Network.
Domain definitions provided with the software.