|
From: | Andreas Weber |
Subject: | Structures 6.1.1 Basic Usage and Examples |
Date: | Tue, 13 May 2014 09:52:11 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20131103 Icedove/17.0.10 |
The manual http://www.gnu.org/software/octave/doc/interpreter/Basic-Usage-and-Examples.html#Basic-Usage-and-Examples shows x.a = 1; x.b = [1, 2; 3, 4]; x.c = "string"; x.b.d = 3; error: invalid assignment to cs-list outside multiple assignment which works in Matlab and since it's in the manual I guess this also worked in octave somewhen prior 3.6.2. I'm not sure if this is related to https://savannah.gnu.org/bugs/?func=detailitem&item_id=32381 --Andy
[Prev in Thread] | Current Thread | [Next in Thread] |