You can control and acquire data from optical and RF spectrum analyzers directly from MATLAB using Instrument Control Toolbox. Because you can control the instrument directly from MATLAB, there is no need to save the data and import it at a later time, simplifying signal analysis and the creation of automated tests. You can also create graphical interfaces for collecting and analyzing data, visualizing the results, and automating tests.
By using the SCPI commands described in the operating or programming manual for your spectrum analyzer, you can control and acquire data from any spectrum analyzer over any of these supported interfaces:
Many spectrum analyzer manufacturers supply industry-standard instrument drivers that you can use directly from MATLAB. Instrument Control Toolbox provides connectivity through instrument drivers such as: