From: maxwell10 on
Hi
I wantto load 4 .asc files but one of the file didn't load
it print an error:
Number of columns on line 4891 of ASCII file
FlowWater_3.asc
must be the same as previous lines.

what can I do?

Thanks
From: Steven Lord on

"maxwell10" <maxwellphy(a)hotmail.com> wrote in message
news:1576042750.26597.1264080996509.JavaMail.root(a)gallium.mathforum.org...
> Hi
> I wantto load 4 .asc files but one of the file didn't load
> it print an error:
> Number of columns on line 4891 of ASCII file
> FlowWater_3.asc
> must be the same as previous lines.
>
> what can I do?

Look at line 4891 of the file FlowWater_3.asc and modify it so it contains
the same number of columns as the previous lines?

--
Steve Lord
slord(a)mathworks.com
comp.soft-sys.matlab (CSSM) FAQ: http://matlabwiki.mathworks.com/MATLAB_FAQ


From: maxwell10 on
Can you give me an idea how to open this file (125MB) and count 4891 rows?
From: maxwell10 on
Help...
From: Steven Lord on

"maxwell10" <maxwellphy(a)hotmail.com> wrote in message
news:1650258072.41475.1264320208897.JavaMail.root(a)gallium.mathforum.org...
> Can you give me an idea how to open this file (125MB) and count 4891 rows?

1) Choose an editor.
2) Read through the documentation to determine how to open a file in this
editor.
3) Open the file in the editor using the method from step 2.
4) Read through the documentation to determine how to go to a specific line
in the file or how to display on which line the cursor is located.
5) Use the method from step 4, or Page Down, or some other method to
navigate to row 4891.

If the editor you chose in step 1 was the MATLAB Editor, the command you
want for step 2 is "edit" and the instructions for step 4 are located here:

http://www.mathworks.com/access/helpdesk/help/techdoc/matlab_env/brqxeeu-62.html

--
Steve Lord
slord(a)mathworks.com
comp.soft-sys.matlab (CSSM) FAQ: http://matlabwiki.mathworks.com/MATLAB_FAQ