File Exchange

image thumbnail

Agilent N6700B Power Supply - MATLAB Example

version (2.27 KB) by Adarsh Narasimhamurthy
Allows MATLAB to connect to an Agilent N6700B Power supply using SCPI, and set the output voltage.


Updated 01 Sep 2016

View License

MATLAB® software is used to control instruments, make measurements, analyze data, and build test systems.
MATLAB supports Agilent power supplies through the Instrument Control Toolbox™. This example MATLAB function connects to an Agilent N6700B Low profile power supply, sets the output voltage and also reads the instantaneous output voltage of the power supply. In this function the output voltage of the power supply is queried 1000 times and the results are plotted to illustrate the reliability, and stability of the power supply. This function has been created using Instrument Control Toolbox v3.1.

Note that this function does not require any additional instrument drivers to operate, as long as MATLAB and Instrument Control Toolbox are installed.

For additional information on MATLAB instrument drivers visit the Instrument Control Toolbox product page:

For additional information on using MATLAB with Agilent instruments, visit:

NOTE: Some browsers may render the driver file rather than saving the file to disk. If this occurs, select "Save As..." from the File menu of your browser to save the driver data to a local file.

Comments and Ratings (1)


Updated license

MATLAB Release Compatibility
Created with R2012a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Discover Live Editor

Create scripts with code, output, and formatted text in a single executable document.

Learn About Live Editor