Send UDP data to remote host
Simulink Support Package for Apple iOS Devices / Communication
The UDP Send block sends user datagram protocol ( UDP ) data to a remote host.
If you are having trouble using UDP to communicate between your host computer and your Apple iOS device, antivirus or firewall software might be blocking UDP traffic. In this case, reconfigure the software to enable UDP traffic for a specific IP port number.
Port_1 — Input data signal
Input data signal, specified as a numeric vector. The block sends this data as UDP data to the remote IP address at the remote IP port.
Remote IP address ('255.255.255.255') — IP address of remote host
'255.255.255.255' (default) | valid IP address
Specify the IP address of the remote host to which you want to send UDP data. To
broadcast the UDP message, use the default value,
Use the default IP address sparingly to avoid creating unnecessary broadcast traffic on
your network. Often, IP routers are configured to drop broadcast UDP packets sent to
this default IP address.
Remote IP port — IP port number of remote host
25000 (default) | integer from 1 to 65,535
Specify the IP port number of the remote host to which you want to send UDP data. The IP port number must be an integer from 1 to 65,535.
C/C++ Code Generation
Generate C and C++ code using Simulink® Coder™.
Introduced in R2015a