[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: octave no longer checks time stamp on functions
From: |
Robert A. Macy |
Subject: |
Re: octave no longer checks time stamp on functions |
Date: |
Fri, 07 Apr 2006 13:09:57 -0700 |
Just deleted file .octave_hist
opened octave
no change in the effect
- Robert -
On Fri, 7 Apr 2006 10:46:21 -0700 (PDT)
Muthiah Annamalai <address@hidden> wrote:
> I think you should try removing your
> ~/.octave_hist maybe it can do something.
> Muthu
>
>
> "Robert A. Macy" <address@hidden> wrote: Robert,
>
> Thank you for your help.
>
> Running the script in your email gets exactly the
> sequence
> that you show, plus, teststamp.m is created in whatever
> directory I had octave running in.
>
> After running the script, I tested a simple function,
> then
> modified it, and again octave failed to note I had
> changed
> the function and ran the first compile.
>
> Once I go to a working directory, I stay there for the
> whole session before closing octave. Since I'm too lazy
> to
> use path commands, I tend to duplicate functions in
> *every*
> working directory. So, good point, I'll watch out for
> potential problems with over using names *and* changing
> directories.
>
> Name "collision" is a big problem for me, because I like
> to
> name my variables and functions mnemonically and
> continually find that the same name is already used by
> octave [sometimes with regrettable results requiring
> restarting octave], so before I name a variable, or
> function, I check to see if if exists somewhere by
> asking...
> >> help testfunctionname
> ...or...
> >> who testvariablename
> ...just to be certain I'm not stepping on something
> already
> there.
>
> This symptom of not checking the time stamp "seems" to
> have
> started after I tried to
> >> plot(d,m);
> instead of
> >> plot(d,m(100,:));
> ...where d was a vector of 1 by 50
> but !!! m was a matrix of 600 by 50
>
> so octave went off into never-never land,
> I had to use ctrl-c to get it back. Whatever happened
> seemed to permanently change octave [I think]
>
> ...or the symptom may have coincidental appeared after
> removing octave, and reinstalling the binary, but not
> certain.
>
> As with most symptoms, it's difficult to remember exactly
> what sequence of events occurred.
>
> Any ideas?
>
> - Robert -
>
> On Fri, 07 Apr 2006 10:56:18 -0500
> "Robert S. Weigel" wrote:
> >
> > I vaguely recall seeing something like this, possibly
> on
> > a Windows version of
> > 2.1.50, but I can no longer reproduce it. What happens
> > if you do the
> > following?
> >
> > system('echo "b=1" > teststamp.m') ; teststamp,
> > system('echo "b=2" >> teststamp.m');, teststamp
> >
> > I get
> > b = 1
> > b = 1
> > b = 2
> >
> > I seem to remember that I saw the error when I had
> > multiple files with the
> > name main and I was doing something silly like
> >
> > cd test1 ; main ; cd .. ; cd test2; maini
> >
> > On Wednesday 05 April 2006 20:13, you wrote:
> > > ARRRGGGG! all of a sudden octave is no longer
> checking
> > the
> > > time stamp on my function scripts.
> > >
> > > [using octave 2.1.50 on Win98]
> > >
> > > never happened before, but suddenly happens all the
> > time.
> > >
> > > I have NOT changed the checking function:
> > > >> ignore_function_time_stamp
> > >
> > > ignore_function_time_stamp = system
> > >
> > > ...as it always used to be, but for some reason,
> octave
> > is
> > > not paying attention to the fact that I changed my
> > function
> > > script. It's as though system means all.
> > >
> > > If I'm making any changes to my function, I have to
> > always
> > > "prefice" my function...
> > >
> > > >> clear myfunction;[out1, out2]=myfunction(var1,
> > var2);
> > >
> > > everytime I change the script, else I get the old
> > compiled
> > > version which does not contain any changes.
> > >
> > > Any ideas?
> > >
> > > - Robert -
> > >
> > > PS
> > > To get to my workspace, I use
> > >
> > > >> cd C:\AAA\newdir\run01
> > >
> > > octaverc is still empty, only has the original
> comments
> > in
> > > it.
> > >
-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.
Octave's home on the web: http://www.octave.org
How to fund new projects: http://www.octave.org/funding.html
Subscription information: http://www.octave.org/archive.html
-------------------------------------------------------------