[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] How to store recieved signal (time, voltage) in .
Re: [Discuss-gnuradio] How to store recieved signal (time, voltage) in .txt format
Fri, 7 Nov 2008 08:53:18 -0800
On Fri, Nov 7, 2008 at 6:21 AM, Bruhtesfa Godana <address@hidden>
Thanks for the reply! I tried gr.file_sink().
It writes something in a txt file, but when I open it it is not in readable format.
Is there something that I can do to make it a readable .txt format for the MAt lab, where every sampled value is written as float value on a new line?
gr.file_sink() writes it as a binary file, not a txt file. You can use the programs found in gnuradio-core/src/utils/read_float_binary.m etc to read those files from matlab or octave where you can resave them in a format that you want.