[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
loading .mat files
From: |
John W. Eaton |
Subject: |
loading .mat files |
Date: |
Mon, 18 Jan 1999 23:47:19 -0600 (CST) |
On 18-Jan-1999, Cyril Fischer <address@hidden> wrote:
| Is it possible to load a mat-file in the directory listed in LOADPATH
| without specifying the whole path and extension?
| Matlab allows construction like
| load filtd8
| instead of
| load /usr/local/share/octave/site/m/Uvi_Wave.300/wdemo/filtd8.mat
Currently, Octave's load command does not do this automatically.
You can find files in the LOADPATH using file_in_path though, so
something like
load (file_in_path (LOADPATH, "filtd8.mat"))
should work.
In the next release, there will also be a file_in_loadpath, that will
do proper colon expansion on the LOADPATH variable.
jwe