Read Text file

1 回表示 (過去 30 日間)
Uday
Uday 2011 年 8 月 23 日
回答済み: Pontus Paulsson 2019 年 11 月 27 日
I have some text file datasets in which first 4 lines has text and I wont to skip those line and read this text file.
The text file has only 3 column data sets lat lon emission 83.1 74.6 9.6e-11

回答 (2 件)

Fangjun Jiang
Fangjun Jiang 2011 年 8 月 23 日
use textscan() with the 'Headerlines' option.

Pontus Paulsson
Pontus Paulsson 2019 年 11 月 27 日
This is realy a week point with Matlab. Instead of having one smart funktion they have 50. It realy takes alot of time trying to figure out how one of them works. Just to realize this one might not do it... then you need to learn onther one nad so on. What about AI??
Just reading a simpel text takes a hell lot of coding and time. What dis I pay 3000 euro for??

カテゴリ

Help Center および File ExchangeData Import and Export についてさらに検索

タグ

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by