Main Content

matlabshared.targetsdk.EthernetInterface Class

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

Ethernet interface connected to hardware

Description

An EthernetInterface object that represents an Ethernet interface for hardware.

Construction

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

Input Arguments

expand all

Name of an Ethernet interface, specified as a string.

Data Types: char

Properties

expand all

Name of an EthernetInterface object, specified as a string.

Data Types: char

Default IP address for the Ethernet interface, specified as a string.

Data Types: char

Default local port used with the Ethernet interface, specified as a string.

Data Types: char

Default password used with the Ethernet interface, specified as a string.

Data Types: char

Default user name used with the Ethernet interface, specified as a string.

Data Types: char

Version History

Introduced in R2015a