Page 1 of 1

MATLAB transmit

Posted: Tue Dec 17, 2019 3:25 pm
by stevem
How to transmit repeatedly using MATLAB?
I would like to perform the following operation in matlab, instead of the cli.

set frequency tx 900M
set samplerate tx 60M
set bandwidth tx 56M
tx config file=E:\SY_MATLAB\BladeRF_Projects\chirp.sc16q11 format=bin
tx config repeat=0 delay=100
tx start

Re: MATLAB transmit

Posted: Fri Dec 20, 2019 3:35 pm
by robert.ghilduta
Have you installed the bladeRF installer on Windows? Please try 'doc bladeRF' in MATLAB.
Also, please take a look at the following example MATLAB files: https://github.com/Nuand/bladeRF/tree/m ... atlab/test

Re: MATLAB transmit

Posted: Fri Apr 10, 2020 6:11 am
by Smittie
I thought is was like:

Code: Select all

b=bladeRF('*:serial=45b')
set frequency tx 900M

Code: Select all

b.tx.frequency = 900e6
set samplerate tx 60M

Code: Select all

b.tx.samplerate = 60e6;
set bandwidth tx 56M

Code: Select all

b.tx.bandwidth = 56e6;
tx start

Code: Select all

b.tx.start();
tx config file=E:\SY_MATLAB\BladeRF_Projects\chirp.sc16q11 format=bin
tx config repeat=0 delay=100

I don't know how to to these I am still searching for those two.If you or someone else finds them please tell me too