Main Content
readline
Syntax
Description
reads
ASCII data until the first occurrence of the terminator from the remote host specified by
the TCP/IP client data
= readline(t
)t
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
t
, 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