help-octave
[Top][All Lists]
Advanced

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

Re: Clearing function and method definitions?


From: Jordi Gutiérrez Hermoso
Subject: Re: Clearing function and method definitions?
Date: Tue, 3 Jul 2012 12:05:15 -0400

On 3 July 2012 11:27, Barry, Dave (STRT) <address@hidden> wrote:
>> From: address@hidden
>> On 3 July 2012 10:14, Barry, Dave (STRT) <address@hidden> wrote:

>>> I am running Octave 3.6.1 on Windows XP 32bit.  I am trying to
>>> use OOP right now and run into a problem where the function
>>> 'methods()' returns a list of functions located in my @class
>>> folder, but does not update when a new method is added or
>>> removed.

>> If you put your files in a different directory, in a location that
>> is not "standard" for Octave, do you still have this problem?

> My script files are located outside of the install directory of
> Octave in a non-standard location to begin with.  I have added this
> location to the startup and envir path so they will be found when
> running Octave.

Hm. How are you adding this location? What commands are you running,
what are you modifying?

> Do you think I should move them?

Perhaps. Before you do that, try a simple example where you first
start Octave, then you cd into some other location, and in that
location you start to create a class and modify it while Octave is
still running. Do you still have the problem about Octave not
reloading your files? I think classes are a red herring here. I think
you should be observing this problem with files not reloaded with any
script or function file.

- Jordi G. H.


reply via email to

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