Main Content
readline
Syntax
Description
reads ASCII data until the first occurrence of the terminator from the Bluetooth® connection data
= readline(device
)device
and returns data
as a string without the terminator. If the function is unable to return any data within the
period specified by the Timeout
property of device
, it returns data
as a 0-by-0
double []
. The function suspends MATLAB® execution until the terminator is reached or a timeout occurs.
Examples
Input Arguments
Version History
Introduced in R2020b