Send UDP packets over IP network
Simulink Support Package for Raspberry Pi Hardware / Network
The UDP Send block sends UDP packets to a UDP host. Use the block for stateless and connectionless data transmission.
Your antivirus software or firewall might block UDP traffic. Configure the software to allow traffic from a specific IP port number.
Port_1 — Input data
The block accepts an array and sends it as UDP packets over an IP network port to the receiving UDP host.
Remote IP address ('255.255.255.255' for broadcast) —
'255.255.255.255' (default) | any valid IP address
Specify the IP address or the host name to which the block sends the UDP packets. To
broadcast packets to all the receiving hosts, specify
Remote IP port — IP port on receiving host to which data is sent
25000 (default) | positive integer in the range
Specify the port number of the application on the receiving host to which you want to send the packets. Match the remote port number with the local port number of the receiving host.
C/C++ Code Generation
Generate C and C++ code using Simulink® Coder™.
Introduced in R2013a