From help-request at octave dot org Thu Dec 29 06:05:40 2005 Subject: Re: structures Matlab - Octave From: Michael Schmid To: Bill Denney CC: help at octave dot org Date: Thu, 29 Dec 2005 13:00:21 +0100 Thanks for your answer is there a possible work-around ? I don't want to stop my work at the neural network toolbox... by the way, I work with the Octave Version 2.9.3 and it seems to be the same bug... Bill Denney wrote: > On Wed, 28 Dec 2005, Michael Schmid wrote: > >> Is it possible to define a structure in Octave which size(a) returns >> [1 0 ] ? > > > The struct command should do it for you, but in 2.1.72 (debian testing > version) it appears to return a [1 1] struct when called as > > a = struct() > > This appears to be a bug in the struct command. > > Bill > ------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html -------------------------------------------------------------