|
From: | Peter L. Soendergaard |
Subject: | Re: Multiple DLD function in a single .cc file |
Date: | Thu, 27 Jun 2013 15:15:57 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130110 Thunderbird/17.0.2 |
On 06/27/2013 03:06 PM, Jordi Gutiérrez Hermoso wrote:
On 27 June 2013 09:03, Marco Vassallo <address@hidden> wrote:I would like to put more then one DLD function in a single .cc file,Then do so; there's no restriction against it. The filename isn't used for searching for functions inside the oct file.
I believe that you need to autoload the function first: http://www.gnu.org/software/octave/doc/interpreter/Overloading-and-Autoloading.htmlOtherwise, the very first time you call your functions, Octave will not know where to look for them.
Cheers, Peter.
[Prev in Thread] | Current Thread | [Next in Thread] |