Forums › VSG Series Discussions › VSG25A and Matlab › Reply To: VSG25A and Matlab
Andrew
Hello JosuePareja,
The VSG is not directly able to be controlled in Matlab. You will need to write a small interface between Matlab and our C interface to the VSG to get this to work. The API files are located in the installation directory on your PC, which is probably in the folder C:\ProgramFiles(x86)\SignalHound\VSG25\api. Take a look at the loadlibrary and calllib functions in Matlab for calling into a C DLL on Windows.
If you wish to use Matlab to generate IQ data that you can then load via ARB CSV files, you can do this also. You will need to generate the IQ data in Matlab and then create a compatible CSV file that can be read into our software. You can find several examples of CSV files in the installation directory as well, in the arb_examples folder. Take a look at the “BPSKUnfiltered” or “Chirp” examples for basic examples with text explanations. You will need to adhere to the format exactly otherwise the software will be unable to read the file.
Let us know if you have further questions.
Regards,
A.J.
