[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Multiple DLD function in a single .cc file
From: |
Juan Pablo Carbajal |
Subject: |
Re: Multiple DLD function in a single .cc file |
Date: |
Thu, 27 Jun 2013 15:12:50 +0200 |
On Thu, Jun 27, 2013 at 3:06 PM, Jordi Gutiérrez Hermoso
<address@hidden> wrote:
> Then do so; there's no restriction against it. The filename isn't used
> for searching for functions inside the oct file.
Yeah, do so. to make your function available in the interpreter you
will need to use the function autoload
http://www.gnu.org/software/octave/doc/interpreter/Overloading-and-Autoloading.html
The stable version of autoload doesn't allow you to remove the dld
from the scope once it has been loaded. The autoload in the default
branch (development) does allow to "remove" the dld from the scope.