MATLAB IIO Example vs IIO Oscilloscope Transmit Performance


I tried the example and transmitted a sinusoid at 2.4GHz. And I did the same thing by using IIO Oscilloscope application in Windows (via remote connection). The problem is that while IIO oscilossope gives a continuos transmission, MATLAB example transmits the signal and stops and repeats the cycle. I attached the results in the post.

I would like to know what is the cause of it and how can it be solved? My main purpose is to transmit and receive an arbitrary signal (Sinusoid, QAM, OFDM etc.) and analyze it using MATLAB.

Thanks in advance!