help-octave
[Top][All Lists]
Advanced

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

Re: calling a function within a multi-function file


From: Bill Denney
Subject: Re: calling a function within a multi-function file
Date: Wed, 4 May 2005 13:58:48 -0400 (EDT)

  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?

Just make a symbolic link 'ln -s test.m test1.m'. I wonder if on windows you could set up a shortcut to the same effect--can anynoe try this?

The only way that I know that this would be possible is with a junction (roughly equivalent to a unix style hard link), but there are no good tools that come with windows for doing this (there could be something that comes with Win2003, but there wasn't anything with XP or 2000).

Bill

--
"Everyone is a damn fool for at least five minutes a day; wisdom consists of not exceeding the limit."
  -- nancybuttons.com



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