[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Cell append -empty element problem (3.6)
From: |
Jordi Gutiérrez Hermoso |
Subject: |
Re: Cell append -empty element problem (3.6) |
Date: |
Thu, 13 Dec 2012 09:56:24 -0500 |
On 13 December 2012 08:40, octaveuser001 <address@hidden> wrote:
> 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?
We agreed that this was a bug in Matlab, so we "fixed" it in for 3.6:
https://savannah.gnu.org/bugs/?35481
If you think it's not a bug, reopen that report.
- Jordi G. H.