Main Content
read
Read data from serial device
Add-On Required: This feature requires the MATLAB Support Package for BeagleBone Black Hardware add-on.
Description
returns
data from the serial device.serialData
= read(serial
,count
)
The read
function stops when it finishes
reading the specified data from the device, or when the timeout period
elapses.
overrides
the default value for precision.serialData
= read(serial
,count
,precision
)
Examples
Input Arguments
Output Arguments
Version History
Introduced in R2015a