I am trying to read the .dat file, created from the --log option of
benchmark_rx, in Matlab. Unfortunately, Matlab is showing errors.
I used the following command to get the file:
./benchmark_rx.py -f 450M -r 1M --log
This created the fmdemod.dat file. I downloaded the reading codes
from gnuradio-core/src/utils and ran those on the .date file in the
following way:
GNUdata=read_float_binary(‘fmdemod.dat’);
GNUdata=read_complex_binary(‘fmdemod.dat’);
GNUdata=read_short_binary(‘fmdemod.dat’);
Unfortunately, all of these commands are producing the following pattern
of
error:
??? Error: File: read_float_binary.m Line: 1 Column: 1 Unexpected
MATLAB
operator.
How can I solve this? Any suggestion regarding reading the .dat file,
created from the benchmark_rx code, will be highly appreciated.
Thanks,
Nazmul
–
Muhammad Nazmul I.
Graduate Student
Electrical & Computer Engineering
Wireless Information & Networking Laboratory
Rutgers, USA.