[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: calling a function within a multi-function file
From: |
Miquel Cabanas |
Subject: |
Re: calling a function within a multi-function file |
Date: |
Mon, 02 May 2005 08:46:09 +0200 |
User-agent: |
Mutt/1.3.28i |
hi,
On Sun, May 01, 2005 at 10:35:00PM -0400, Brian Blais wrote:
>
> Is there a way to call function test2 directly, even though it is in
> test.m? I could use the source command, but then I have to do that
> manually every time I change the file. Is there another way?
I think the answer is no, and that you have to define each
function in a separate file to make it directly accessible.
Miquel
--
Miquel E Cabanas ------------------------------------------------------
SeRMN, Universitat Autonoma de Barcelona (address@hidden)
------------------------------------------o-oo--ooo---ooo--oo-o--------
-------------------------------------------------------------
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
-------------------------------------------------------------