read
Read data from serial device
Add-On Required: This feature requires the MATLAB Support Package for Raspberry Pi Hardware add-on.
Description
returns data from the serial device.serialData
= read(myserialdevice
,count
)
The read
method 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(myserialdevice
,count
,precision
)