Send UDP message to remote interface
Simulink Support Package for Arduino Hardware/Ethernet Shield
Send a UDP message to a remote interface identified by the remote IP address and remote port parameters.
Use this block when the transmission speed is of higher priority than the transmission reliability or the order of messages.
The Arduino Ethernet Shield uses the following pins on different Arduino board variants.
This block input accepts uint8 scalar values.
During simulations without the hardware, this block does nothing.
Enter the IP address of the remote interface to which you want to send UDP messages.
Enter the remote port of the remote interface to which you want to send UDP messages. The remote IP port numbers range from 0 to 65535.
Enter the local port number from which you want to send UDP messages. The local IP port numbers range from 0 to 65535.
Click View pin map to open the Arduino Pin Mapping table .
To know how to assign pins for the block, see Pin Mapping for Arduino Timer Independent Blocks.