help-octave
[Top][All Lists]
Advanced

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

Re: Sharing auxilary functions


From: Søren Hauberg
Subject: Re: Sharing auxilary functions
Date: Fri, 17 Jun 2005 20:36:57 +0200
User-agent: Mozilla Thunderbird 1.0.2 (X11/20050404)

John W. Eaton wrote:
On 17-Jun-2005, Søren Hauberg wrote:

| I have a script that uses several auxilary functions, all in the same | file. Now, I want to call these auxilary functions from another script. | One way to accomplish this would be to put each auxilary function in | seperate files, but that would create alot of files. Can I somehow | create a file containing all the auxilary functions and then include | them from the files that need the functions?

I think you might be asking for the "private function" feature of
Matlab.  I don't think there is a way to do that with Octave yet.
Sounds a bit like it. However something simpler should do the trick. In C I would simply #include the file I need to share. Can I somehow parse a file containing functions without calling any of them?

/Søren

jwe



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




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