matlabshared.targetsdk.Hardware class

Package: matlabshared.targetsdk
Superclasses:

Hardware that runs generated code

Description

A matlabshared.targetsdk.Hardware (Hardware) object represents a hardware board supported by a target.

Construction

Note

To construct a hardware object, use the createHardware function.

H = createHardware(hardwareName) returns a Hardware object, H, with the Name property set to hardwareName.

Input Arguments

expand all

Name of hardware, specified as a string.

Data Types: char

Properties

expand all

Identifier of hardware, specified as a string.

Example: 'ARM Cortex-M4F'

Data Types: char

Cell array of handles to IOInterface objects for the hardware.

Data Types: cell

Name of the hardware, specified as a string.

Data Types: char

Methods

addNewEthernetInterfaceAdd new Ethernet interface to hardware
addNewSerialInterfaceAdd serial interface to hardware
deleteEthernetInterfaceDelete Ethernet interface from hardware
deleteSerialInterfaceDelete serial interface from hardware

Introduced in R2015a