From help-octave-request at bevo dot che dot wisc dot edu Wed Jan 22 15:38:34 2003 Subject: Re: How to input tabular data through a form? From: "Henry F. Mollet" To: Miquel dot Cabanas at uab dot es Cc: Octave_post Date: Wed, 22 Jan 2003 13:39:45 -0800 GNU Octave, version 2.1.35 (powerpc-apple-darwin6.2). I'm using OS X 10.2 (Jaguar) and installed above using Fink. Also, your X is a row vector, I'm expecting to see a 3x3 matrix? Henry on 1/22/03 9:08 AM, Miquel Cabanas at Miquel dot Cabanas at uab dot es wrote: > hi, > > On Wed, Jan 22, 2003 at 07:44:15AM -0800, Henry F. Mollet wrote: >> >> octave:1> X = aload("Workbook1.csv", Inf, Inf, ","); >> error: single index only valid for row or column vector >> error: evaluating argument list element number 2 >> error: evaluating index expression near line 106, column 7 >> error: evaluating assignment expression near line 106, column 5 >> error: called from `aload' in file `/Users/mollet/CandO/aload.m' >> > > it worked for me (Debian Woody GNU/Linux), > > octave:1> X = aload("Workbook1.csv", Inf, Inf, ","); > octave:2> X > X = > > 1 2 3 4 5 6 7 > > just in case it makes a difference... what OS are you using? > > Miquel ------------------------------------------------------------- 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 -------------------------------------------------------------