Main Content
readline
Syntax
Description
reads
ASCII data sent to the TCP/IP server data
= readline(t
)t
from the client connected to it
until the first occurrence of the terminator 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 it reaches a terminator or a timeout occurs.
Examples
Input Arguments
Version History
Introduced in R2021a