[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: HELP a newbie - Weird problem
From: |
Ian Searle |
Subject: |
Re: HELP a newbie - Weird problem |
Date: |
Fri, 11 Aug 1995 11:01:49 -0700 |
> Date: Fri, 11 Aug 95 16:57:16 BST
> From: address@hidden (Billy Chow)
> Sender: address@hidden
> Content-Type: text
> Content-Length: 1311
>
> Dear list members,
>
> I worte to the list a few days ago about the problem I have with the
> variable `whitespace_in_literal_matrix' and so far received no reply.
> I really want to know why this happens, is it due to a problem in my
> setup or a bug in octave. Here is a summary:
>
> System:
>
> -8Mb 486DX-33
> -Linux 1.2.8 (slackware 2.3)
> -Octave 1.1.1
>
> Symptom:
>
> -Start octave clean (no .octaverc), and type
>
> Octave:1>conv(1,1)
> Ans = 1
> Octave:2>whitespace_in_literal_matrix = 'traditional';
> Octave:3>conv(1,1)
> Ans = 1
>
> Good! no problem but if we ...
> -Start octave clean, and type
>
> Octave:1>whitespace_in_literal_matrix = 'traditional';
> Octave:2>conv(1,1)
> Parse error in line 59 of conv.m
> .........
> .........
>
> The same error if I put the line ``whitespace_in_literal_matrix =
> 'traditional''' in a .octaverc. This line is suggested in the FAQ for
> better Matlab combatibility. I don't believe I am the first one to
> following suggestions in the FAQ and put the line in a .octaverc.
> Somebody must have come across this problem and might even have a
> solution. Please some kind soul enlighten me. Or just try the above
> out and tell me if you have the same outcome.
>
> Thanks
>
> /Billy
>
I tried the above on a Sparc-10/51 (Solaris 2.4), using the octave
binary distribution. I get the exact same results as you describe
above.
octave:1> whitespace_in_literal_matrix = 'traditional';
octave:2> conv(1,1)
parse error near line 59 of file conv.m:
>>> x = [b, zeros (1, ly - lb)];
^
error: `conv' undefined near line 2 column 1
error: evaluating index expression near line 2, column 1
-Ian