Post Go back to editing

Pluto control via MATLAB


I am simply trying to set the TX output of the Pluto to 1GHz using MATLAB. I have installed and connected the Pluto support files. 

My code is as follows:

clc,clear all , close all;

deviceName = 'Pluto';
samplerate = 1000000;
Frequency = 1.0e9;
Gain = -10;
tx = sdrtx(deviceName,'BasebandSampleRate',samplerate, ...
'CenterFrequency',Frequency,'Gain', Gain);

The Pluto will not set the frequency though. I can see using a spectrum analyser connected to the TX port that the output is constant at 2.4GHz. Any suggestions on what to do next to control the frequency?

Many thanks,