[Scilab-users] Reading numericaldata from txt file containing headlines
Jens Simon Strom
j.s.strom at hslmg.de
Fri Mar 3 13:09:14 CET 2017
Hi,
with
x=read(file,-1,2)
I can read the data from a text file containing e. g.
1 2.12 First line of text file
2.12 3.2
3 2
4 2
5 2.
6 2
7 2
Last line empty
What can I do to read only the numbers from a text file like
Header 1 First line of text file
Header 2
1 2.12
2.12 3.2
3 2
4 2
5 2.
6 2
7 2
Last line empty
where the data start in the 5th line?
Regards, Jens
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20170303/36503692/attachment.htm>
More information about the users
mailing list