Main Content

deleteSerialInterface

Class: matlabshared.targetsdk.Hardware
Package: matlabshared.targetsdk

Delete serial interface from hardware

Syntax

deleteSerialInterface(h,interfaceName)

Description

deleteSerialInterface(h,interfaceName) deletes the SerialInterface object with the Name property set to the string interfaceName from the Hardware object, h.

Input Arguments

expand all

Handle to the object representing the hardware on which the generated code runs.

Name of the SerialInterface object, specified as a string.

Example: 'My PMC RS232 Card'

Data Types: char

Introduced in R2015a