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


_______________________________________________
Discuss-gnuradio mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to