I am trying to capture 2 channels of RF samples from an AD9361 and process the data in Matlab.
I have set up a Zedboard with a Zynq image downloaded from here: https://wiki.analog.com/resources/tools-software/linux-software/zynq_images
I'm using a Matlab script to create an "iio_sys_obj_matlab" IIO System Object, and am calling stepImpl() multiple times.
There is a discontinuity between the data from each call to stepImpl(), presumably because the interface can't keep up with the radio.
I'd like to capture around 300ms of samples, but I seem to be limited to a buffer size of 512k samples - when I request more than this, stepImpl() just returns zeros.
Is there a way of increasing the size of the buffer to many megasamples?
Failing this, is there a better approach to capturing large bursts of RF samples into matlab with this hardware?