Main Content

matlabshared.targetsdk.EthernetInterface Class

Namespace: matlabshared.targetsdk
Superclasses: matlabshared.targetsdk.IOInterface

Ethernet interface connected to hardware

Description

Use the EthernetInterface class to represent an Ethernet interface for hardware.

Creation

H = matlabshared.targetsdk.EthernetInterface(interfaceName) creates an EthernetInterface object H and sets the Name property to interfaceName.

Input Arguments

expand all

Name of an Ethernet interface, specified as a character vector or string scalar.

This argument sets the Name property as a character vector.

Data Types: char | string

Properties

expand all

Name of an EthernetInterface object, specified as a character vector or string scalar.

Data Types: char | string

Default IP address for the Ethernet interface, specified as a character vector or string scalar.

Data Types: char | string

Default local port used with the Ethernet interface, specified as a character vector or string scalar.

Data Types: char | string

Default password used with the Ethernet interface, specified as a character vector or string scalar.

Data Types: char | string

Default username used with the Ethernet interface, specified as a character vector or string scalar.

Data Types: char | string

Version History

Introduced in R2015a