Extend benchmark_ofdm_tx.py with file_sink?

Hi,

Can anybody tell me how to save transmit data from benchmark_ofdm_tx.py
using file_sink?
I added
self.file_sink = gr.file_sink(gr.sizeof_gr_complex,“filename.dat”) and
self.connect(self.txpath, self.file_sink)
but using matlab, it does not look right.
Thank you.

James,

On Fri, Jul 25, 2008 at 04:09:13PM -0400, James P. wrote:

James,
That’s the right place to log the transmit data.

Did you read George’s new page on Octave:

http://gnuradio.org/trac/wiki/Octave

To get the data into octave (or matlab), you’ll want to use
read_complex_binary.m or an equivalent. Please note that we know that
read_complex_binary.m works correctly; we use it all the time.

Eric