On Mon, Nov 10, 2008 at 4:04 PM, Mayank Goel
<address@hidden> wrote:
Hi,
I am confused about how to access the data that is present in the sink. I mean that I need to send the sink data into some other component and need to access all the contents.
How can I do that?
Thanks
Are you talking about how to read data off the file to which the sink writes its output? You can do that in matlab/oactave using the read_float_binary file which is located in the source tarball. Look for it in gnuradio_dir/gnuradio-core/src/utils. The file is a binary file which contains raw data from the input without any header, so you can use a function like fopen() and fread() to read the contents of the file.
Karthik