Keysight Instruments and MATLAB

Keysight Technologies (formerly Agilent Technologies) provides core measurement tools such as digitizers, function generators, multimeters, network analyzers, oscilloscopes, signal analyzers and generators, and vector signal analyzers. You can use MATLAB together with Instrument Control Toolbox as your single software environment to configure, control, acquire, and analyze data from Agilent instruments.

Once data is in MATLAB, you can make customized measurements, perform data analysis, generate arbitrary waveforms, and develop automated tests. You can also create graphical interfaces for collecting and analyzing your data and automating tests.

In addition, Agilent offers integration with MATLAB that enables user-defined measurements on select instruments and expands the ability of Agilent oscilloscopes to analyze signals.

Keysight Instrument Drivers

An instrument driver lets you communicate with your instrument using higher-level commands. MATLAB supports IVI and VXIplug&play instrument drivers and LXI-compliant instruments. To communicate with your Agilent instrument using an IVI instrument driver and Instrument Control Toolbox, install the IVI driver and then automatically create a MATLAB driver wrapper by following the instructions in the MATLAB IVI documentation. Some instrument drivers do not require a wrapper and can be used directly from MATLAB. Other IVI drivers have preconfigured MATLAB wrappers. See

to get started using Agilent instruments in MATLAB with IVI instrument drivers.

Find Keysight Instrument Drivers

Communication Protocols

If an instrument driver is not available for your instrument, you can communicate directly with the instrument using SCPI commands over these communication protocols:

Keysight Digitizers

Data Acquisition Toolbox supports some data acquisition hardware from Agilent. For the complete list of devices supported by the toolbox, see the Data Acquisition Toolbox supported hardware.

Resources for Using MATLAB and Instrument Control Toolbox with Keysight (Agilent) Instruments

MATLAB Examples for Keysight Oscilloscopes

MATLAB Examples for Keysight Signal Generators and Signal Analyzers

MATLAB Examples for Keysight Arbitrary Waveform Generators

Development of Custom Modulation and Demodulation Schemes Using Keysight Signal Generators and Signal Analyzers

MATLAB Examples for Other Keysight Instruments

MATLAB Videos - Getting Started Demonstrations with Keysight Instruments

Get an overview of Agilent test equipment including signal generators, signal analyzers, oscilloscopes, network analyzers, and AXIe and PXI modular hardware with MATLAB ® software.
Generate pulse waveforms and other signals for Agilent X-Series signal generators using MATLAB ® and Instrument Control Toolbox™.
Generate waveforms and perform amplitude correction for Agilent M8190a AWGs using MATLAB ® and Instrument Control Toolbox™.
Acquire IQ data from Agilent X-Series signal analyzers using MATLAB ® .
Generate signal impairments and play back waveforms for Agilent signal generators and analyzers using MATLAB ® .
Make user-defined custom measurements for Agilent Infiniium oscilloscopes using MATLAB ® .
Create and use MATLAB ® apps for Agilent Infiniium and InfiniiVision oscilloscopes.

Provide Feedback

Tell us about your Agilent or Keysight instrument, its model number, and the type of application you want to develop, or request additional information about Agilent or Keysight instruments. To request support for a specific instrument, include the instrument's name and model number.

Tell us about other protocols or standards you would like to use from MATLAB.