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 CenterFile Exchange에서 Data Import and Export에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by