Direct Interface Communication in Simulink

Send and receive data in Simulink® models

The Instrument Control Toolbox™ provides blocks for communicating with instruments and using the serial, TCP/IP, and UDP interfaces in Simulink. The blocks in the Instrument Control Toolbox Block Library are listed below, and see Building Simulink Models to Transmit Data for an example of using some of the blocks.


Query InstrumentQuery or read instrument data
To InstrumentSend simulation data to instrument
Serial ConfigurationConfigure parameters for serial port
Serial Receive Receive binary data over serial port
Serial SendSend binary data over serial port
TCP/IP ReceiveReceive data over TCP/IP from specified remote machine
TCP/IP SendSend data over TCP/IP to specified remote machine
UDP ReceiveReceive data over UDP network from specified remote machine
UDP SendSend data over UDP network to specified remote machine


Opening the Instrument Control Block Library

There are two ways to access the block library.

Building Simulink Models to Transmit Data

These examples show how to use the Instrument Control blocks to send and receive data over instrument interfaces.

Featured Examples