[Top][All Lists]

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

Path?/dispatch error on starting Octave but path works

From: Henry F. Mollet
Subject: Path?/dispatch error on starting Octave but path works
Date: Fri, 28 May 2004 15:21:35 -0700
User-agent: Microsoft-Entourage/

I found that I had all octave-forge functions on my desktop and there was no
need to download them, e.g. rat.m. Therefore, I've added a recursive path
using two slashes at the end and rat.m in the directory
/many/many/directories/octave-forge/general was *indeed found*. However, my
Octave 2.1.46, on start-up, now complains with a dispatch error. It does not
like the two slashes but won't do a recursive search with only one slash.
What is the problem?

GNU Octave, version 2.1.46 (powerpc-apple-darwin6.6).
Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003 John W. Eaton.

error: `dispatch' undefined near line 2 column 1
error: near line 2 of file
error: evaluating assignment expression near line 2, column 10
error: near line 2 of file `/Users/mollet/.octaverc'

octave:1> path
LOADPATH contains the following directories:

octave:2> x=rand
x = 0.38021
octave:3> [n,d]=rat(x)
n =   73
d =   192

[~] tcsh:29> vi .octaverc
      1 %% My octaverc

N.B. I believe that the first ":" is a default path which was supplied when
using Fink for the installation of Octave and must include /sw/bin, the
location of "octave", alias for the octave-2.1.46 application, so that my
octave application will get loaded when I type "octave" at the shell prompt.

Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:
How to fund new projects:
Subscription information:

reply via email to

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