help-octave
[Top][All Lists]
Advanced

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

Cell append -empty element problem (3.6)


From: octaveuser001
Subject: Cell append -empty element problem (3.6)
Date: Thu, 13 Dec 2012 05:40:15 -0800 (PST)

In Octave 3.2.4 when we do
aa=[];
bb=cell(2,1);
bb(1)=char('hello');
aa=[aa;bb(1)];

then the value for aa is
aa =
{
  [1,1] = hello
}

However with Octave 3.6.2 (windows/Visual studio 2010 Setup/Michael
Goffioul) the returned value for aa is
aa =
{
  [1,1] = [](0x0)
  [2,1] = hello
}

I recently moved to 3.6 and the empty element is breaking lot of my code.
Which is the expected correct output?




--
View this message in context: 
http://octave.1599824.n4.nabble.com/Cell-append-empty-element-problem-3-6-tp4647831.html
Sent from the Octave - General mailing list archive at Nabble.com.


reply via email to

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