Forum: GNU Radio viewing data in octave

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
1fbbf2b6e2540c61c664c8a87ef68a76?d=identicon&s=25 Zi Bell (bellzii)
on 2007-07-02 03:54
(Received via mailing list)
Ive been trying to view some data stored in a .dat file using octave ,
Ive
followed Eric's instruction to add
LOADPATH=":~/gr-build/gnuradio-core/src/utils";

in octaverc file  and i typed in octave

octave:1> d = read_complex_binary('received.dat', 1e6);
error: `read_complex_binary' undefined near line 1 column 5
error: evaluating assignment expression near line 1, column 3

  can some help me with this error

thanks in advance

ziad
--
View this message in context:
http://www.nabble.com/viewing-data-in-octave-tf400...
Sent from the GnuRadio mailing list archive at Nabble.com.
Ac73d95c8ccddff9ecae369bcb80a923?d=identicon&s=25 George Nychis (Guest)
on 2007-07-02 04:33
(Received via mailing list)
Sure, i would make sure that LOADPATH is actually correct.  You want to
make sure it actually has the GNU Radio octave scripts in it.

Do:
ls -l ~/gr-build/gnuradio-core/src/utils

and you should see something like:
total 136
-rw-r--r-- 1 gnychis gnychis 1491 2007-06-18 09:54 cool.m
-rw-r--r-- 1 gnychis gnychis 1254 2007-06-18 09:54 db_width.m
-rw-r--r-- 1 gnychis gnychis 1337 2007-06-18 09:54 filter_tools.m
...

If the path is incorrect, you will get an error like:
ls: /home/gnychis/gr-build/gnuradio-core/src/utils: No such file or
directory

Basically you want to set the loadpath correctly to point to a place
where you keep the GNU Radio source code.

- George
3596cfe1d579c65b9babd35e8787977c?d=identicon&s=25 Matt Ettus (Guest)
on 2007-07-02 05:21
(Received via mailing list)
George Nychis wrote:
> Sure, i would make sure that LOADPATH is actually correct.  You want
> to make sure it actually has the GNU Radio octave scripts in it.
>
> Do:
> ls -l ~/gr-build/gnuradio-core/src/utils


Different versions of octave require very different formats for the
loadpath.  The only thing that works on my version of octave is the
following format:

addpath("/home/matt/octave-bin")
addpath("/home/matt/gnuradio/gnuradio-core/src/utils")


Matt
1fbbf2b6e2540c61c664c8a87ef68a76?d=identicon&s=25 Zi Bell (bellzii)
on 2007-07-02 11:15
(Received via mailing list)
Thank you guys, it worked


Matt Ettus wrote:
> loadpath.  The only thing that works on my version of octave is the
> Discuss-gnuradio mailing list
> Discuss-gnuradio@gnu.org
> http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>
>

--
View this message in context:
http://www.nabble.com/viewing-data-in-octave-tf400...
Sent from the GnuRadio mailing list archive at Nabble.com.
This topic is locked and can not be replied to.