help-octave
[Top][All Lists]
Advanced

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

DLD function unloading


From: Shai Ayal
Subject: DLD function unloading
Date: Wed, 17 Sep 2003 12:05:42 +0300
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030703

Hi all,

Is there a way to protect DLD functions (oct files) from being unloaded by "clear all" ?
Under what circumstances are DLD functions unloaded ?

I am asking beacuse I want to have some persistant data saved throughout an octave session (e.g. the pid of a spawned process). If I just use some static var inside a DLD function, it will be erased whenever this function is unloaded.

        Shai Ayal



-------------------------------------------------------------
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
-------------------------------------------------------------



reply via email to

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