[Top][All Lists]

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

Re: mkoctfile at Octave command prompt?

From: John W. Eaton
Subject: Re: mkoctfile at Octave command prompt?
Date: Thu, 10 Mar 2005 13:57:53 -0500

On 10-Mar-2005, Todd Neal <address@hidden> wrote:

| John W. Eaton wrote:
| > I've now seen several instances of people thinking that they should
| > run mkoctfile at the Octave prompt instead of the shell prompt.
| > Perhaps this is partly because Matlab has a "mex" command.
| > 
| > Does anyone have strong opinions about whether we should or should not
| > provide an Octave command called mkoctfile?
| I see it as a possibly useful addition.  I haven't looked at the 
| particular Octave internals but I believe at one point someone mentioned 
| that time stamps are checked when a function is called, so a compile 
| from within octave would make the next function invocation reload the 
| newly compiled .oct.

Yes, that's what happens.

| Perhaps automatically loading 
| any .oct after compilation from within Octave would make sense as well. 

I don't see a need to do that explicity, as calling the function will
load it anyway, and if it had been previously loaded, it will be
unloaded and the new version will be used, same as if you ran
mkoctfile in a separate shell window while Octave was running.


reply via email to

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