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.

Instrument Driver Communication

Instrument communication using instrument drivers

You need to create an interface object, for example gpib or i2c, to communicate with instruments, as described in many of the sections of the documentation. You can also create a device object that allows you to configure and query an instrument without knowledge of its command set. See Creating and Connecting Device Objects for more information about using device objects.


connect Connect device object to instrument
clear Remove instrument objects from MATLAB workspace
delete Remove instrument objects from memory
devicereset Reset instrument
disconnect Disconnect device object from instrument
disp Display instrument object summary information
get Instrument object properties
icdevice Create device object
inspect Open Property Inspector
instrhelp Help for instrument object type, function, or property
instrhwinfo Information about available hardware
instrreset Disconnect and delete all instrument objects
invoke Execute driver-specific function on device object
methods Class method names and descriptions
propinfo Instrument object property information
save Save instrument objects and variables to MAT-file
set Configure or display instrument object properties
tmtool Open Test & Measurement Tool
geterror Check and return error message from instrument
instrcallback Display event information when event occurs
instrfind Read instrument objects from memory to MATLAB workspace
instrfindall Find visible and hidden instrument objects
instrid Define and retrieve commands that identify instruments
instrnotify Define notification for instrument events
isvalid Determine whether instrument objects are valid
length Length of instrument object array
load Load instrument objects and variables into MATLAB workspace
makemid Convert driver to MATLAB instrument driver format
obj2mfile Convert instrument object to MATLAB code
selftest Run instrument self-test
size Size of instrument object array


Test and Measurement Tool Control oscilloscopes and other instruments

Examples and How To

Creating and Connecting Device Objects

Includes the general procedure for the creation and use of device objects.

Communicating with Instruments

Configuring and exchanging data through device objects.

Device Groups

Obtaining and using group device properties.


Device Objects

Device objects allow you to configure and query an instrument without knowledge of its command set. The low-level communication is performed through a MATLAB® instrument driver.

Instrument Control Toolbox Properties

These properties are available in the toolbox.

Was this topic helpful?