Contenido principal

addNewEthernetInterface

Class: soc.sdk.Hardware
Namespace: soc.sdk

Add new Ethernet interface to hardware

Syntax

ethernetInterfaceObj = addNewEthernetInterface(hardwareObj,interfaceName)

Description

Add-On Required: This feature requires the SoC Blockset Support Package for AMD FPGA and SoC Devices add-on.

ethernetInterfaceObj = addNewEthernetInterface(hardwareObj,interfaceName) creates a new EthernetInterface object with the Name property set to the string interfaceName and adds the new object to the soc.sdk.Hardware object.

Input Arguments

expand all

Hardware object mapped to the soc.sdk.BoardSupport object, specified as an soc.sdk.Hardware object.

Name of the EthernetInterface object, specified as a string.

Example: "MyEthernetInterface"

Data Types: string | char

Output Arguments

expand all

A EthernetInterface object that defines the Ethernet interface connection to hardware.

Version History

Introduced in R2019b