MATLAB transmit

Discussions related to embedded firmware, driver, and user mode application software development
Post Reply
stevem
Posts: 1
Joined: Tue Dec 17, 2019 3:23 pm

MATLAB transmit

Post 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
robert.ghilduta
Posts: 156
Joined: Thu Feb 28, 2013 11:14 pm

Re: MATLAB transmit

Post 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
Smittie
Posts: 2
Joined: Tue Feb 11, 2020 2:38 am

Re: MATLAB transmit

Post 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
Post Reply