displaying structure arrays
Francesco Potortì
Potorti at isti.cnr.it
Thu Jan 29 03:21:47 CST 2009
It seems to me that displaying structure arrays has changed in 3.1.
Now, I get this:
octave> x = 1:10;
octave> N = length(x);
octave> y = repmat(struct('field1',[],'field2',[]),1,N)
y =
{
1x10 struct array containing the fields:
field1
field2
}
I think that this behaviour is due to this change:
2008-03-07 John W. Eaton <jwe at octave.org>
* ov-struct.cc (octave_struct::print_raw): Don't print contents fo
struct arrays that have more than one element.
How can I see the fields' contents all at once?
--
Francesco Potortì (ricercatore) Voice: +39 050 315 3058 (op.2111)
ISTI - Area della ricerca CNR Fax: +39 050 315 2040
via G. Moruzzi 1, I-56124 Pisa Email: Potorti at isti.cnr.it
(entrance 20, 1st floor, room C71) Web: http://fly.isti.cnr.it/
More information about the Help-octave
mailing list