help-octave
[Top][All Lists]
Advanced

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

Re: Very slow reading of a 2D matirx


From: John W. Eaton
Subject: Re: Very slow reading of a 2D matirx
Date: Fri, 21 Oct 2005 08:37:24 -0400

On 21-Oct-2005, Paul Kienzle wrote:

| If you install the data in the same directory as the script then you 
| should be able to do:
| 
|       x = load(file_in_loadpath('script_data'))

This will usually work, but I think it will fail if the script was
invoked with something like

  source ("/some/directory/that/is/not/in/the/loadpath/script-file.m");

Should Octave export a variable that holds the full name of the
current script (or even function) file while it is executing?

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]