From help-octave-request at bevo dot che dot wisc dot edu Mon Jan 18 23:47:10 1999 Subject: loading .mat files From: "John W. Eaton" To: Cyril Fischer Cc: help-octave at bevo dot che dot wisc dot edu Date: Mon, 18 Jan 1999 23:47:19 -0600 (CST) On 18-Jan-1999, Cyril Fischer 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