主要内容

Simulink 中的直接接口通信

R2026b
在 Simulink® 模型中发送和接收数据

Instrument Control Toolbox™ 提供用于与仪器通信以及使用 Simulink 中的串行、TCP/IP 和 UDP 接口的模块。下面列出了 Instrument Control Toolbox 模块库中的模块以及如何使用它们的示例。

模块

Serial Configuration blockSerial ConfigurationConfigure parameters for serial port
Serial Receive blockSerial Receive Receive binary data over serial port
Serial Send blockSerial SendSend binary data over serial port
TCP/IP Receive blockTCP/IP Receive通过 TCP/IP 网络从指定的远程机器接收数据
TCP/IP Send blockTCP/IP SendSend data over TCP/IP network to specified remote machine
UDP Receive blockUDP ReceiveReceive data over UDP network from specified remote machine
UDP Send blockUDP SendSend data over UDP network to specified remote machine
VISA block iconVISACommunicate with VISA resources (自 R2023b 起)

主题

精选示例