addNewSerialInterface
Class: matlabshared.targetsdk.Hardware
Namespace: matlabshared.targetsdk
Add serial interface to hardware
Syntax
obj = addNewSerialInterface(h,interfaceName)
Description
creates
a new obj
= addNewSerialInterface(h
,interfaceName
)SerialInterface
object, obj
,
with the Name
property set to the string interfaceName
,
and adds the new object to the Hardware
object, h
.
An error is thrown if new SerialInterface
object
cannot be created.
Input Arguments
Output Arguments
Version History
Introduced in R2015a