TCP/IP Send
R2026bSend data over TCP/IP network to another remote host
Libraries:
Simulink Coder Support Package for BeagleBone Blue Hardware /
Communication
Raspberry Pi Blockset /
Network
Simulink Support Package for Android Devices /
Communication
Simulink Support Package for LEGO MINDSTORMS EV3 Hardware
Description
Add-On Required: This feature requires one of these add-ons.
Send data to a remote host/another hardware board over the network. You can set the connection mode of the block as a server or a client. When you set connection mode as TCP/IP client, you must provide the remote address and the remote IP port of the TCP/IP server to which you have to send the data. When you set the block as a TCP/IP server, you must provide the local IP port of the TCP/IP server. This IP port acts as the listening port of the TCP/IP server.
Examples
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.
"bbblueCommlib/TCP//IP Send"
"raspberrypiNetworklib/TCP//IP Send"
"androidcommunicationlib/TCP//IP Send"
"legoev3lib/TCP//IP Send"
Example: add_block("bbblueCommlib/TCP//IP Send","myModel/myBlock",MakeNameUnique="on")
Version History
Introduced in R2017a



