discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] viewing data in octave


From: George Nychis
Subject: Re: [Discuss-gnuradio] viewing data in octave
Date: Sun, 01 Jul 2007 22:32:50 -0400
User-agent: Thunderbird 1.5.0.12 (X11/20070604)

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


Ziad ElMarakshy wrote:
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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]