Main Content

systemcomposer.interface.PhysicalElement

Physical element in physical interface

Description

A PhysicalElement object represents a physical element in a physical interface.

Creation

Create a physical element.

element = addElement(interface,'newPhysicalElement')

Properties

expand all

Parent physical interface of physical element, specified as a systemcomposer.interface.PhysicalInterface object.

Physical element name, specified as a character vector or string.

Example: 'newPhysicalElement'

Data Types: char | string

Type of physical element, specified as a systemcomposer.interface.PhysicalInterface or systemcomposer.interface.PhysicalDomain object or a character vector or string of the partial physical domain name. For a list of valid physical domain names, see Domain-Specific Line Styles (Simscape).

Universal unique identifier for physical element, specified as a character vector.

Example: '91d5de2c-b14c-4c76-a5d6-5dd0037c52df'

Data Types: char

Unique external identifier, specified as a character vector. The external ID is preserved over the lifespan of the physical element and through all operations that preserve the UUID.

Data Types: char

Object Functions

setNameSet name for value type, interface, or element
destroyRemove model element

More About

expand all

Introduced in R2021b