Transmission Control Protocol (TCP) is a transport protocol layered on top of the Internet Protocol (IP) and is one of the most used networking protocols. MATLAB® support for TCP/IP client communication enables you to use network socket communication to connect to remote hosts from MATLAB for reading and writing both binary and ASCII data.
create a TCP/IP client that connects to a server or hardware and perform read and write
|Create TCP/IP client connection with TCP/IP server|
|Start or stop TCP/IP echo server|
|Set terminator for ASCII string communication with remote host over TCP/IP|
|Set callback function and trigger condition for communication with remote host over TCP/IP|
Use network socket communication to connect to remote hosts from MATLAB for reading and writing data over TCP/IP.
Connect to remote hosts or hardware from MATLAB for reading and writing data over TCP/IP.
Enhance TCP/IP communication by executing a callback function when a specified event occurs.
Write and read data to and from the remote host connected to the
Troubleshoot the TCP/IP client interface.
Troubleshoot when you receive no data and you get the warning message: 'tcpclient' unable to read any data.