Borrar filtros
Borrar filtros

RTLSDR baseband file format

5 visualizaciones (últimos 30 días)
CAROL GARRITTY
CAROL GARRITTY el 13 de Mzo. de 2018
Comentada: Ethem el 4 de Abr. de 2019
I am trying out the RTLSDR FM demodulator code for MATLAB as presented here:  https://www.mathworks.com/help/supportpkg/rtlsdrradio/examples/fm-broadcast-receiver.html
Playing FM radio in near real-time directly from my RTLSDR works great! What I can't figure out is how to make it work with a data file. When I select the data file option, it asks
Enter captured signal file name [rbds_capture.bb]
But I have some pre-recorded .dat files from my RTL-SDR, but they don't seem to be compatible with the file reader. When I try to read a .dat file, I get this error:
\Error using coder.internal.errorIf (line 8)
Invalid baseband file: Incorrect file version..
What format is it expecting? Is there a way to convert a raw data file to a baseband file?
  1 comentario
Ethem
Ethem el 4 de Abr. de 2019
How did you create the .dat file? If you can read that file in MATLAB, you can write the contents to a .bb file. An example psuedo-code is:
x = read_my_dat_file('myfile.dat')
bbw = comm.BasebandFileWriter('myfile_in_bb')
bbw(x)

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Communications Toolbox en Help Center y File Exchange.

Etiquetas

Productos

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by