help-octave
[Top][All Lists]
Advanced

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

Re: string dictionary class


From: Jaroslav Hajek
Subject: Re: string dictionary class
Date: Tue, 26 Jan 2010 21:23:55 +0100

On Tue, Jan 26, 2010 at 5:52 PM, coccoinomane <address@hidden> wrote:
>
> HI Jaroslev!
>
> Thank you very much for this addition. I downloaded it but I cannot
> reproduce your examples. Upon typing
>
>> gnusoft = dict
>
> I get the following error message:
>
> error: string cannot be indexed with .
> error: called from:
> error:   ~/dict_from_svn/struct.m at line 26, column 8
> error: evaluating argument list element number 1
> error: evaluating argument list element number 1
> error:   ~/dict_from_svn/dict.m at line 82, column 5
>
> I have Octave 3.2.3 on Mac Os X 10.6, aka Snow Leopard. Is my Octave version
> too old? I would like to install the development version from source, but
> last time I tried I had all sort of problems... an updatev version of
> Octave.app would be wonderful :)
>
> Cheers,

Please read the OOP basics in the manual to learn how to use user
classes. The dict class m-files must be in a directory named @dict and
this must be on your Octave path (or in current directory). If you
install the package using "pkg install", it will do things correctly.
But *don't* cd into the @dict directory, otherwise things will break.

regards

-- 
RNDr. Jaroslav Hajek, PhD
computing expert & GNU Octave developer
Aeronautical Research and Test Institute (VZLU)
Prague, Czech Republic
url: www.highegg.matfyz.cz



reply via email to

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