I have decided to try the GNURadio -> TCP -> MATLAB route. I am
into a few problems.
First, I downloaded Jamie Cooley’s GNURadio TCP Socket code here…
Then I downloaded a free matlab TCP toolbox as David suggested.
I can set up the connection and send data to matlab, but the data I
is all messed up. I think the format is off. For those who have done
what data type are you sending and how are you receiving it? Currently,
am just sending a complex sine wave. If I sink it to a file, I can open
in matlab with no problem. But when I send it via TCP, I get garbage.
My matlab commands are basically…
Con = pnet(sock,‘tcplisten’);
data = pnet(con, ‘read’, 1000, ‘SINGLE’);
cdata = data(1:2:end)+j*data(2:2:end);
Is ‘SINGLE’ the correct type to use? (I tried all the others and I still
Thanks for the help,