MATLAB only supports instrument configuration and control over GPIB when used with Instrument Control Toolbox.
This MATLAB example shows you how to get started using MATLAB to communicate over GPIB (HPIB).
Note: This MATLAB code example was automatically generated with the instrument configuration tool provided by the toolbox. Type "tmtool" in MATLAB to launch this tool. Additional information on tmtool is available at: https://www.mathworks.com/help/instrument/tmtool.html
Information on using MATLAB and Instrument Control Toolbox for instrument communication is available at: http://www.mathworks.com/products/instrument
Finally, for additional information on using MATLAB with GPIB, visit: http://www.mathworks.com/gpib
Added BSD License