A Port (

) is a port model instance that you add to define the connections that devices uses to communicate with each other. To add this subnode, right-click a
Device Model or
Device Model Feature node and choose
Port from the
Devices submenu.
To add a Port to a physics feature or physics property node, right-click the node and choose
Port from the
Devices submenu. If added under any of these nodes or a
Component node, the port belongs to the device models closest in the hierarchy. For most cases this will be the device model added by the physics interface.
In the Name text field you enter the name of the port. This name defines the variable names that you use to access the variables declared in the port model that you refer to in the
Type text field. If a port model declares a variable named
v, and you typed
a in the
Name text field, you access the variable
v by typing
a.v.