Data extract from file sink block

Hi all,

How to use file sink block in GRC. I want to extract output data from
rx_ofdm & tx_ofdm examples bolck in GNU radio to plot BER V/s EB/N0 in
MATLAB. If I use file sink blocks, it’s generate a banary file which is
not
opening anywhere. So please tell me what type of file we can get using
file
sink block which is compatible to MATLAB also.

Hi Naveen,
the data “format” is described in the official FAQ:

http://gnuradio.org/redmine/projects/gnuradio/wiki/FAQ#What-is-the-file-format-of-a-gr_file_sink-How-can-I-read-files-produced-by-a-file-sink

It’s raw data, which can be easily read using Matlabs file io
facilities; for reference look into matlab’s “fread” documentation.

Greetings,
Marcus