octave-maintainers
[
Top
][
All Lists
]
Advanced
[
Date Prev
][
Date Next
][
Thread Prev
][
Thread Next
][
Date Index
][
Thread Index
]
Bug when saving structure array?
From
:
michael . goffioul
Subject
:
Bug when saving structure array?
Date
:
Wed, 07 Feb 2007 15:51:01 +0100
With a recent CVS (but it was also the case a few weeks ago), I observe
the following behavior:
> a.f1 = 10
a =
{
f1 = 10
}
> a.f2(1) = struct('f21', 0, 'f22', 1);
> a.f2(2) = struct('f21', 2, 'f22', 3);
> size(a.f2)
ans =
1 2
> save -binary mytest.bin a
> load -binary mytest.bin a
> size(a.f2)
ans =
1 1
> a.f2
ans =
{
f21 =
{
[1,1] = 0
[1,2] = 2
}
f22 =
{
[1,1] = 1
[1,2] = 3
}
}
In summay, after saving and reloading, my structure array (a.f2) has
become a scalar structure whose fields are cell arrays. Is this a bug?
Michael.
reply via email to
[Prev in Thread]
Current Thread
[Next in Thread]
Bug when saving structure array?
,
michael . goffioul
<=
Prev by Date:
MSVC patch: additional exported symbols (again)
Next by Date:
2.9.10, finally?
Previous by thread:
MSVC patch: additional exported symbols (again)
Next by thread:
2.9.10, finally?
Index(es):
Date
Thread