large date/number/string text file reading to certain number of elements then ignoring end of line
古いコメントを表示
I have a problem reading in a text file.
It's a large txt file with each line (after the header) composed of time,date,799 x data integers seperated by a ', '
Tha would be fine and I'd be able to read the 2000 plus lines in with no problem sequentially, except every now and then a line is finished with a string starting 'Event: ...'
This messes up the time & date capture for the next line..
How can I tell the code to stop after the 799 integers, ignore the rest of the line and move to the next?
thanks
4 件のコメント
Tom
2012 年 9 月 26 日
Can you provide some sample data?
Rod Habeshaw
2012 年 9 月 26 日
Oleg Komarov
2012 年 9 月 26 日
Which version of MATLAB do you have?
Rod Habeshaw
2012 年 9 月 26 日
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Spreadsheets についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!