Read the data from specific line in MATLAB

조회 수: 2 (최근 30일)
Tez
Tez 2017년 7월 11일
댓글: Grzegorz Knor 2017년 7월 12일
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?

답변 (1개)

Grzegorz Knor
Grzegorz Knor 2017년 7월 11일
For the first time use Import Tool and then generate a code .
  댓글 수: 2
Tez
Tez 2017년 7월 12일
편집: Tez 2017년 7월 12일
How can I read these files without using import tool?
Grzegorz Knor
Grzegorz Knor 2017년 7월 12일
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.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Low-Level File I/O에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by