Documentation

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.

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

Topics

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?