help-octave
[Top][All Lists]
Advanced

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

Re: Wavelab & octave


From: Josep Monés i Teixidor
Subject: Re: Wavelab & octave
Date: Sun, 19 Oct 2003 23:56:05 +0200

On dg, 2003-10-19 at 23:05, Josep Monés i Teixidor wrote:

> 
> Thanks for your answer. I thought that WaveLab could be used with Octave
> "out of the box" already. I don't need all the belts and whistles: only
> the core stuff.

Forget my question. It seems to be working without MEX files. It wasn't
at all difficult. It was just my lack of experience :)

Just in case anyone needs it, so far i have got to do the following to
make it work:

1.- untar WaveLab :)
2.- Edit WavePath.m

In line 23 set path instead of pwd (as WaveLab docs say).

In line 26 change:
PATHNAMESEPARATOR = '\';
to:
PATHNAMESEPARATOR = '\\';

3.- Add source('/path/to/wavelab/WavePath.m'); to ~/.octaverc for a
single-user installation:

echo "source('/path/to/wavelab/WavePath.m');" >> ~/.octaverc


That seems to work to me. Despite that ReadImage doesn't work:

And octave complains:
octave:2> barton = ReadImage("Barton") Reading
/home/josep/temp/WaveLab802/Datasets/barton.raw
It is an array of size [ 512, 512]
error: type: `barton.txt' undefined
error: evaluating if command near line 77, column 3
error: evaluating if command near line 69, column 6
error: evaluating if command near line 65, column 2
error: called from `ReadImage' in file
`/home/josep/temp/WaveLab802/Datasets/ReadImage.m'
error: evaluating assignment expression near line 2, column 8


Internally (Datasets/ReadImage.m) it tries:

type('/home/josep/temp/WaveLab802/Datasets/barton.txt');

which fails.

The solution: 
a/ comment out that line
b/ or set WLVERBOSE to 'No' inside WavePath.m



I've just noticed there's a wiki. Should I add that there? Any comments?


Regards,
-- 
Josep Monés i Teixidor
Clau GnuPG: gpg --recv-keys 80E85CC4

Attachment: signature.asc
Description: This is a digitally signed message part


reply via email to

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