このページの内容は最新ではありません。最新版の英語を参照するには、ここをクリックします。
TCP Send
Send data over TCP/IP network to remote host
Add-On Required: This feature requires the Simulink Coder Support Package for STMicroelectronics Nucleo Boards add-on.
ライブラリ:
Simulink Coder Support Package for STMicroelectronics Nucleo Boards /
STM32F7
Simulink Coder Support Package for STMicroelectronics Nucleo Boards /
STM32H7
Description
The TCP Send block sends data to a remote host or another hardware board over a TCP/IP network. You can set the Connection mode of the block to Server or Client. When you set Connection mode to Client, you must provide the Server IP Address and the Server IP Port on the server to which you want to send data. When you set Connection mode to Server, you must provide the Local IP Port. This Local IP Port acts as a listening port on the TCP/IP server. The server must be up and running before deploying the model that contains the TCP Send block to the target.
The block sends data either in blocking mode or in non-blocking mode. In blocking mode, the model blocks the execution while it waits for the data to be sent completely. In non-blocking mode, the model runs continuously. To set the block in blocking mode, select the Wait until data received option.
端子
Input
Output
Parameters
拡張機能
バージョン履歴
R2017a で導入