help-octave
[Top][All Lists]
Advanced

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

Re: mex not reloaded due to existing references (was "clear mex" in octa


From: Andy Buckle
Subject: Re: mex not reloaded due to existing references (was "clear mex" in octave?")
Date: Wed, 5 Oct 2011 20:54:30 +0100

On 5 October 2011 17:31, José Vallet <address@hidden> wrote:
> Hello all.
>
> I have a problem with mex files. In short:
> -Create a mex file, compile it and execute it
> -Modify it A and recompile.
> -Try executing the new version, octave will execute the old one and warns:
> "mex not reloaded due to existing references"
>
> clean mex does not solve the problem.
>
> Browsing around I found this old post
> http://octave.1599824.n4.nabble.com/quot-clear-mex-quot-in-octave-td1634521.html
> in which this is described as a bug with a fix expected in Octave 3.2. I am
> using 3.4.2 and still have the same problem.
>
> Could it be that the fix did not go through?
> Otherwise, how to reload mex files without restarting octave?

With oct files (I have not used mex) I have to type "clear foo" to
unload the function foo. If I recall correctly, it will not finish
compiling in the case of oct, as octave holds a file lock on the old
binary, so it cannot be overwritten. Perhaps the same will help.

-- 
/* andy buckle */


reply via email to

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