Filter löschen
Filter löschen

Read the data from specific line in MATLAB

3 Ansichten (letzte 30 Tage)
Tez
Tez am 11 Jul. 2017
Kommentiert: Grzegorz Knor am 12 Jul. 2017
I have sequence of data files(".tab" files) with more than 11100 rows and 236 columns. Data begins from 297th line in one file and from 299th line in another file. How can I read the data from 297th row and 2nd column upto the end of each file?

Antworten (1)

Grzegorz Knor
Grzegorz Knor am 11 Jul. 2017
For the first time use Import Tool and then generate a code .
  2 Kommentare
Tez
Tez am 12 Jul. 2017
Bearbeitet: Tez am 12 Jul. 2017
How can I read these files without using import tool?
Grzegorz Knor
Grzegorz Knor am 12 Jul. 2017
There is a fscanf function. But it is much easier to use Import Tool and generate code. Then you can use only code without Import Tool.

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Low-Level File I/O finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by