How to open a .txt file with header information
50 ビュー (過去 30 日間)
古いコメントを表示
I have a large data file, temperature data to be exact, the file output from the sensor is .txt. The first 12 rows are header rows, which I'd like to ignore completely and just focus on the data that is left.
Any help would be greatly appreciated.
0 件のコメント
回答 (2 件)
Fangjun Jiang
2018 年 5 月 8 日
編集済み: Fangjun Jiang
2018 年 5 月 8 日
importdata(FILENAME, DELIM, NHEADERLINES) loads data from ASCII file FILENAME, reading numeric data starting from line NHEADERLINES+1.
4 件のコメント
Fangjun Jiang
2018 年 5 月 8 日
all the numerical data are in one line. There is no carriage return. Please attach a text file.
参考
カテゴリ
Help Center および File Exchange で Text Files についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!