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: http://www.mathworks.com/products/instrument.
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.
Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.