help-octave
[Top][All Lists]
Advanced

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

Re: OCT-files and shared libraries and clearing


From: Mike Miller
Subject: Re: OCT-files and shared libraries and clearing
Date: Tue, 18 Oct 2016 15:26:53 -0700
User-agent: NeoMutt/20160916 (1.7.0)

On Tue, Oct 18, 2016 at 11:07:13 +0200, Patrick Boettcher wrote:
> Hi list,
> 
> I'm now successfully using a shared library in a .oct-file. Thanks Mike.
> 
> Calling it from octave works fine. Re-calling it after a modification
> and recompilation works fine as well, but only for the .oct-file. If the
> shared library has changed the loader seems not to reload them.
> 
> Is there are possibility to unload the implicitly loaded shared library?
> 
> Right now I'm restarting octave as a workaround.

Does `clear -f` (aka `clear functions`) do the trick?

If I run Octave under strace, I see that shared libraries linked by an
oct file are reopened when they are called again after `clear -f`. If
you read the help for `clear` this is what it's supposed to do.

-- 
mike



reply via email to

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