The MATLAB® TCP/IP client support lets you connect to remote hosts or hardware from MATLAB for reading and writing data.
Configure Properties for TCP/IP Communication
You can use properties to set up the TCP/IP communication and set timeouts.
Write and Read Data over TCP/IP Interface
You can synchronously read and write data to and from
the remote host connected to the tcpclient
object.
The MATLAB TCP/IP client support uses raw socket communication and lets you connect to remote hosts from MATLAB for reading and writing data over TCP/IP.