octave-maintainers
[Top][All Lists]
Advanced

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

Re: Matlab compatibility help


From: Sebastian Schöps
Subject: Re: Matlab compatibility help
Date: Wed, 25 Nov 2015 00:59:45 -0800 (PST)

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

>>



--
View this message in context: 
http://octave.1599824.n4.nabble.com/Matlab-compatibility-help-tp4673642p4673646.html
Sent from the Octave - Maintainers mailing list archive at Nabble.com.



reply via email to

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