[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] Using GnuRadio Commands inside GRC
From: |
Josh Blum |
Subject: |
Re: [Discuss-gnuradio] Using GnuRadio Commands inside GRC |
Date: |
Thu, 22 Sep 2011 21:17:31 -0700 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.21) Gecko/20110831 Lightning/1.0b2 Thunderbird/3.1.13 |
On 09/22/2011 09:05 PM, adeel anwar wrote:
> Hi,
>
> Simulink have a block named "Matlab Function", in which user can write
> Matlab code and use it just like other simulink blocks,so does GRC have a
> smilar block which supports gnuradio commands/function (for which GRC blocks
> are not yet written ) or is such block planned in the future?
>
Well, there is no mscript, its all python.
You can call *any* python function from a parameter in GRC. Example
using the gr.firdes filter design functions:
http://gnuradio.org/redmine/projects/gnuradio/wiki/GNURadioCompanion#Filter-Design
If you want to make a custom block, you can do that in python or C++,
but there is not support to design that from inside the gui.
-Josh
Sent from my toaster