[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Finding an m-file
From: |
Simon Webster |
Subject: |
Finding an m-file |
Date: |
Mon, 6 Feb 2006 17:56:27 +0100 |
I want to find the directory an m-file lives in (that is on the
current path somewhere).
I know exist('myfile.m') should return 2 if myfile.m is on the current
path, but can I easily get the directory in which the particular
myfile.m that octave will execute lives?
thanks in advance,
Simon
-------------------------------------------------------------
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
-------------------------------------------------------------
- Finding an m-file,
Simon Webster <=