help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Load ascii file


From: Heber Farnsworth
Subject: Re: Load ascii file
Date: Fri, 3 Apr 1998 14:41:31 -0500 (EST)

When I have had problems like this the answer is always that one of the entries 
is not a number.  For instance if your spreadsheet puts some character for a 
missing value that is not a number then awk will tell you there are 22 elements 
per line but Octave won't be able to load it.

That's as good a guess as I can make.

Heber Farnsworth

> # name: data
> # type: matrix
> # rows: 720
> # columns: 22
>  0.000 5.431 2.949 2.911 4.731 50.133  9.498 -0.442 -0.368  -0.239 .....
> 
> every line has 22 elements. I'm sure about this since I've used awk to check.
> and there are 720 data lines, but when I use "load -ascii filename" I get the
> error:
> 
> error: load: failed to load matrix constant
> error: load: reading file prova4.prn
> error: evaluating index expression near line 1, column 1
> 
> What's wrong?
> 
> Many thanks for any suggestion or help.
> 
> 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]