From help-octave-request at bevo dot che dot wisc dot edu Tue Jan 27 23:38:29 2004 Subject: struct question From: "Dmitri A. Sergatskov" To: octave-help-list Date: Tue, 27 Jan 2004 22:34:04 -0700 Matlab: >> s=struct('a',1,'b',2,'c',3) s = a: 1 b: 2 c: 3 >> Octave (2.1.50 + octave-forge-2003.06.02): octave:1> s=struct('a',1,'b',2,'c',3) error: first argument is neither struct nor string error: evaluating assignment expression near line 34, column 3 error: called from `struct' in file `/usr/local/share/octave/2.1.50/site/m/octave-forge/struct/struct.m' error: evaluating assignment expression near line 1, column 2 octave:1> (Same thing happens if I replace single quotes with doubles) Am I doing something wrong? Sincerely, Dmitri. ------------------------------------------------------------- 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 -------------------------------------------------------------