Simulink.ConnectionElement
Description
A Simulink.ConnectionElement
object is an element of a Simulink.ConnectionBus
object. It validates the properties of a physical
connection port.
ConnectionElement
objects exist only within the
ConnectionBus
object. You can specify a ConnectionBus
object, but not a ConnectionElement
object, as a data type.
When you simulate or update a model, Simulink® checks whether the ports connected to Simscape Bus or
Connection Port blocks with rigid interface specifications match the
properties of the corresponding ConnectionElement
objects.
To create and modify ConnectionBus
and ConnectionElement
objects in the base workspace or a data dictionary, you can use the Type Editor, the
Model Explorer, or
MATLAB® commands. You cannot store ConnectionBus
and
ConnectionElement
objects in model workspaces.
Creation
Description
returns a
ce
= Simulink.ConnectionElementConnectionElement
object with default property values.
Properties
Examples
Alternatives
To interactively create a ConnectionElement
object, use the Type Editor or the
Model
Explorer.
Version History
Introduced in R2021b