octave-maintainers
[Top][All Lists]
Advanced

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

Re: Matlab compatibility help


From: John W. Eaton
Subject: Re: Matlab compatibility help
Date: Wed, 25 Nov 2015 07:43:00 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.7.0

On 11/25/2015 03:59 AM, Sebastian Schöps wrote:
Rik-4 wrote
Can someone test whether the Matlab interpreter accepts the following
code?

b .x = 1

The key is the space between the structure access operator "." and the
initially undefined variable b.  Without the space Octave parses this just
fine.

--Rik


Yes it does (R2015b, Mac):

b .x = 1

b =

     x: 1

Thanks.

Rik, do you want me to take a look at fixing this, or do you want to do it?

jwe





reply via email to

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