[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:44:47 +0200 |
User-agent: |
Mozilla Thunderbird 1.0.2 (X11/20050404) |
Søren Hauberg wrote:
[snip]
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?
Sorry about replying to my own post, but I've found a solution.
I can simply create a file called auxilary.m that contains the functions
I need, and then call source("auxilary.m") from the files that need
access to the auxilary functions
/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
-------------------------------------------------------------
-------------------------------------------------------------
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
-------------------------------------------------------------