Linking RSP to MatLab for Signal Processing

This forum is for teachers wanting to make use of the course materials "Understanding Radio Communications - using SDRs" Initially moderated by course authors Paolo and Lorenzo, it is the place to ask questions about the materials and learn from the experiences of these and other teachers.
Post Reply
RCWO
Posts: 2
Joined: Sun Oct 04, 2020 12:14 pm

Linking RSP to MatLab for Signal Processing

Post: # 24Post RCWO »

University Question: "We would like to develop the framework of an end of semester project that the students must submit showing their ability to integrate MATLAB and the RSP1a, to manipulate a signal and be able to apply some signal processing tools from MATLAB...."

>>A very helpful answer comes from Athanasios Vasileiadis of University of Sheffield:
His work on GitHUb is directly relevant: https://github.com/VasAthanasios/SDRpla ... ab_Toolbox
He says:
"What is basically required to make everything work is the following:
1) A wrapper that sets the Matlab commands (sdrplay.m).
2) A C file (sdrplay_mex.c) which acts as a translator between Matlab and the provided (mir_sdr_api.lib). When the C file is compiled through Matlab and it becomes a MEX file, which Matlab can actually read!
Some things to bear in mind is that this approach uses the RSP API version 2.11.3 and that I did not implement all of the functions. You are more than welcome to use my approach as template and add more functions or even update it to the latest API version."

Many thanks Athanasios!
waterwin
Posts: 2
Joined: Tue Feb 02, 2021 4:36 pm

Re: Linking RSP to MatLab for Signal Processing

Post: # 27Post waterwin »

Can the same be used with the RSP1A or would that need different commands?

Thanks, de Erwin
jon
Posts: 9
Joined: Sat Oct 03, 2020 3:02 pm

Re: Linking RSP to MatLab for Signal Processing

Post: # 28Post jon »

Hi Erwin, we heard recently that Athanasios (the author here: https://github.com/VasAthanasios/SDRpla ... ab_Toolbox ) is working on making those changes so that the RFSP1A will work in th esame way.
Best regards, Jon
Post Reply