This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

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 Instrument Query or read instrument data
To Instrument Send simulation data to instrument
Serial Configuration Configure parameters for serial port
Serial Receive Receive binary data over serial port
Serial Send Send binary data over serial port
TCP/IP Receive Receive data over TCP/IP from specified remote machine
TCP/IP Send Send data over TCP/IP to specified remote machine
UDP Receive Receive data over UDP network from specified remote machine
UDP Send Send 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.

Was this topic helpful?