Hi Sharath - Ah; OK. You are correct that the GNU Radio installer does not install Octave files (in MacPorts or any other place; it's OS agnostic). But, they are present in "gr-utils/octave" if you download the source (release or git). You don't need to reinstall GNU Radio from source or whatever, since these are just scripts used by Octave. Further, since the GNU Radio source is already downloaded, you can just use it. You can find those for GNU Radio in "/opt/local/var/macports/distfiles/gnuradio/". Since you installed the release, you should have a file "gnuradio-3.7.4.tar.gz" ... so, you should be able to extract the files you want via
{{{
tar jxf /opt/local/var/macports/distfiles/gnuradio/gnuradio-3.7.4.tar.gz "*/gr-utils/octave"
}}}
Then, you'll probably want to move them to some place move appropriate; you can figure that part out :) - MLD
On Aug 7, 2014, at 7:41 PM, Sharath Ananth <sharatha@ieee.org> wrote:
> Thanks for the response. What I am looking for was to replicate the following instructions which got from another website..
>
> "After that you need to tell the location of these scripts to the Octave, typing the following line on the octave prompt will do the work
> addpath("/home/username/gnuradio/gnuradio-core/src/utils/")
> say the name of the data file you collected using uhd_rx_cfile is data
> type the following in octave now
> data_oct = read_complex_binary("/home/username/data")"
>
> However there is no src/utils in gnuradio-runtime and this script 'read_complex_binary' is not anywhere...
> My thinking is that this is because macports has not installed this. Should I be trying to install from source?
_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
No comments:
Post a Comment