[Top][All Lists]

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

rehash() doesn't reread .

From: Børge Strand-Bergesen
Subject: rehash() doesn't reread .
Date: Thu, 7 Apr 2011 11:09:50 +0200


I'm struggling to access a access an .m file created after Octave
started. The file is created in a folder different from the startup
folder. path() reports "." on the very first line.

It seems rehash() doesn't reread "." after a cd command. However, if I
create a new .m file in the startup folder, it is automatically found,
even without the need for a rehash.

Here's what happens:
- Start Octave-3.2.4 on Win7/64
- Create simple function c:\qwerty.m, a name which doesn't previously exist
- In Octave, cd c:/
- rehash();
- qwerty(4,5)
- error: `qwerty' undefined near line 13 column 1

I'd appreciate some insight into ensuring "." is properly in the path.


reply via email to

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