[Discuss-gnuradio] Matlab to GRC and vice versa

2010-04-17 Thread harshal jadhav
Hi guys, I want to take results from matlab and read it in grc using number sink. For example: my matlab result is [ 1 2 3 4]. I want to take this result in grc and be able to read it through number sink. Can I know the procedure to accomplish the task. Regards, Harshal Jadhav

[Discuss-gnuradio] Adding a python block

2010-04-17 Thread devin kelly
Hello everyone, I took the d8psk.py modulator and tweaked it a little to make a d16psk.py modulator. I have (both of them) in gnuradio/gnuradio-core/src/python/gnuradio/blks2impl I ran $sudo make install $make check Yet my script still gets an error on this line modulator =

Re: [Discuss-gnuradio] Adding a python block

2010-04-17 Thread Josh Blum
modulator = gnuradio.blks2impl.d16psk.d16psk_mod(.) This would only work if each one of those tokens was actual a python module/package with an __init__.py in it. But since its not, you have to treat it like a directory structure: from gnuradio.blks2impl.d16psk import d16psk_mod

Re: [Discuss-gnuradio] Matlab to GRC and vice versa

2010-04-17 Thread Josh Blum
Use matlab to write files in binary format. You can use the file source block to read binary files into GRC. -Josh On 04/17/2010 10:51 AM, harshal jadhav wrote: Hi guys, I want to take results from matlab and read it in grc using number sink. For example: my matlab result is [ 1 2 3 4]. I