UDP Send
Send UDP message
Libraries:
Embedded Coder Support Package for Intel SoC Devices
Description
The UDP Send block transmits an input vector as a UDP message over an IP network port.
Ports
Input
Port_1 — Input Signal
N-by-1 array
Input signal of messages to be sent to the remote IP address and port.
Data Types: single
| double
| int8
| int16
| int32
| uint8
| uint16
| uint32
| Boolean
Parameters
IP address — IP address
'255.255.255.255' (default) | character vector
Enter the IP address to which the block sends the message. To broadcast the UDP
message, retain the default value, '255.255.255.255'
.
Remote IP port — Remote IP port
25000 (default) | 1–65535
Enter the IP port where the block sends the message.
Local IP port source — Local IP port source
Assign automatically
(default) | Specify via dialog
To let the system automatically assign the port number, select Assign
automatically
. To specify the IP port number using the Local
IP port parameter, select Specify via
dialog
.
Local IP port — Local IP port
-1 (default) | 1–65535
Enter the IP port number from which the block sends the message. If the receiving address expects messages from a particular port number, enter that number here.
Extended Capabilities
C/C++ Code Generation
Generate C and C++ code using Simulink® Coder™.
Version History
Introduced in R2014b
MATLAB Command
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)