UDP Send
R2026bSend UDP packets to another UDP host on Internet network
Libraries:
Simulink Support Package for LEGO MINDSTORMS EV3 Hardware
Simulink Coder Support Package for BeagleBone Blue Hardware /
Communication
Simulink Support Package for Android Devices /
Communication
Description
Add-On Required: This feature requires the Simulink Coder Support Package for BeagleBone Blue Hardware add-on.
Send a UDP packet to a network address identified by the remote IP address and remote IP port parameters.
Note
If you are having trouble using UDP to communicate with a computer, investigate whether antivirus or firewall software might be blocking UDP traffic. If so, try reconfiguring the software to allow UDP traffic for a specific IP port number.
Ports
Input
Parameters
Programmatic Use: Add Block
To add the block programmatically, use the add_block function with one of these library block paths as the source.
"legoev3lib/UDP Send"
"bbblueCommlib/UDP Send"
"androidcommunicationlib/UDP Send"
Example: add_block("legoev3lib/UDP Send","myModel/myBlock",MakeNameUnique="on")
