Main Content

target.Port Class

Namespace: target

Describe connection via target hardware port

Since R2021a

Description

Use the target.Port class, which inherits from target.ConnectionProperties, to describe a connection via a port of the target hardware. For example, the serial COM port.

Properties

expand all

To provide additional custom properties, associate one or more target.AddOn objects with the target.Port object.

Attributes:

GetAccess
public
SetAccess
public

Number of the port associated with the connection.

Attributes:

GetAccess
public
SetAccess
public

Methods

expand all

Version History

Introduced in R2021a