To define a new physical domain, you must declare the Through and Across variables associated with it.
In a domain file, you have to declare the Through and Across variables associated with the domain.
How to connect Through and Across variables declared in a component file to the domain Through and Across variables.
How domain parameters differ from component parameters.
The following file, named
declares a mechanical rotational domain, with angular velocity as
an Across variable and torque as a Through variable.
Brief overview of the modeling language and its purpose.
Overview of the typical Simscape language workflows, with links to background information and examples.
Overview of the Simscape file types and structure.
A physical domain provides an environment, defined primarily by its Across and Through variables, for connecting the components in a Physical Network.
Both domain and component files contain a declaration section:
The purpose of domain parameters is to propagate the same parameter value to all or some of the components connected to the domain.
The attributes appear in an AttributeList, which is a comma separated list of pairs, as defined in the MATLAB® class system grammar.