Easy Wavelet capability - got it right finally

John W. Eaton jwe at bevo.che.wisc.edu
Tue Aug 12 09:20:45 CDT 2008


On 12-Aug-2008, Marc Normandin wrote:

| WavePath.m does a check for what kind of system you're running in order
| to decide whether to use / or \ to separate directory names in the path.
|  It looks like it doesn't recognize your system type because Octave is
| running through cygwin or something similar.
| 
| Could you run the following commands in Octave and report the results
| back?
| 
| 1. computer
| 2. isunix
| 3. ispc
| 
| With that information I should be able to make a quick fix to WavePath.m.

Wouldn't it be better to use the fullfile to concatenate filename
components instead of trying to determine the separator?  Using
fullfile should be portable to recent versions of both Octave and
Matlab and wouldn't depend the return value from any of these
functions.

jwe


More information about the Help-octave mailing list