Get Started with Simscape Language
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|
- What Is the Simscape Language?
Brief overview of the modeling language and its purpose.
- Model Linear Resistor in Simscape Language
Overview of how modeling in Simscape language works, using a linear resistor as an example.
- Typical Simscape Language Tasks
Overview of the typical Simscape language workflows, with links to background information and examples.
- Simscape File Types and Structure
Overview of the Simscape file types and structure.
- Creating Custom Components
Component types, file structure, high-level workflow.
- When to Define a New Physical Domain
A physical domain provides an environment, defined primarily by its Across and Through variables, for connecting the components in a Physical Network.
- Foundation Domain Types and Directory Structure
Domain definitions provided with the software.