Send data over UDP network to a remote device
Simulink Real-Time / IP
The UDP Send block sends data over a UDP network to a remote device. The block can send data by using the connection between the development and target computers or by using a dedicated Ethernet card. If you use a dedicated Ethernet card, use the Speedgoat configuration utility to configure the dedicated Ethernet board.
The parameter Local IP address applies when the block executes in a real-time application on a target computer or in a model simulation on a development computer. If your model is running in Simulink® on the development computer, you can use this block to transmit data to a remote device. In this case, the Windows® operating system determines the network connection.
To broadcast to all devices on the
local subnetwork, set To IP address to
255.255.255.255
. Otherwise, set To IP
address to a valid IP address.