Read Text file

1 visualización (últimos 30 días)
Uday
Uday el 23 de Ag. de 2011
Respondida: Pontus Paulsson el 27 de Nov. de 2019
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

Respuestas (2)

Fangjun Jiang
Fangjun Jiang el 23 de Ag. de 2011
use textscan() with the 'Headerlines' option.

Pontus Paulsson
Pontus Paulsson el 27 de Nov. de 2019
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??

Categorías

Más información sobre Data Import and Export en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by