Send data over TCP network to a remote device
Simulink Real-Time / IP
The TCP Send block sends data from a server application on a target computer to a remote client device.
Enable — Allow data transmission
0, the block
attempts to transmit data to the remote
As a best practice, connect the
of a TCP configure block to the
Enable input of
the associated TCP Send and TCP Receive blocks.
Data — Data to transmit over the TCP network
Length to transmit to the client
Length — Length of data vector
uint8 values to transmit to the client
Status — Number of bytes sent
Returns the number of
uint8 values transmitted to
Send using — List of IP address and port pairs
This property is read-only.
The block receives the list of IP address and port pairs from the TCP configuration blocks in the model.
5560 are reserved for Simulink Real-Time
C/C++ Code Generation
Generate C and C++ code using Simulink® Coder™.
Introduced in R2020b