Hello Marcus, I really appreciate your help. >Those files (read_float_binary.m and read_complex_binary.m) are MATLAB macros, intended to be used directly by MatLab.
Did you mean that, the binary file which will be created by the gr_file_sink, is needed Matlab to open? Ok, then I will take the file to another PC where Matlab is installed and will try to open it. However, I was looking for some way to directly convert the file into .txt or any other readable format using the python program. Marcus D. Leech wrote: > >> Hello, >> >> I am in deep deep trouble. And it would be really great if somebody come >> up >> with any sort of help. >> >> I am trying to collect the raw data using USRP2. I used the >> gr_file_sink(itemsize, "filename") for this. The "filename" is a binary >> file >> and so it cant be seen/open. I googled in the internet to find a way of >> converting the binary file to something else. I found that there is one >> thing named read_float_binary.m and read_complex_binary.m to convert the >> data into a matlab file. This function is written in C++. I realized that >> I >> have to use this function but dont know how to do it. Should I use this >> function directly to the python program or in the gr_file_sink.cc >> program. >> >> It would be really helpful if somebody writes the exact command for this. >> >> This is really urgent and I will appreciate it very much if somebody >> comes >> forward. >> >> Thank you > Those files (read_float_binary.m and read_complex_binary.m) are MATLAB > macros, intended to > be used directly by MatLab. If you don't know how to use MatLab, > this is likely the wrong list > to get high-quality help in that direction. Just sayin' > > -- > Marcus Leech > Principal Investigator > Shirleys Bay Radio Astronomy Consortium > http://www.sbrac.org > > > > _______________________________________________ > Discuss-gnuradio mailing list > Discuss-gnuradio@gnu.org > https://lists.gnu.org/mailman/listinfo/discuss-gnuradio > > -- View this message in context: http://old.nabble.com/How-to-use-the-read_float_binary.m-function-tp32729533p32735431.html Sent from the GnuRadio mailing list archive at Nabble.com. _______________________________________________ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio