extract data from a text file in a loop

조회 수: 1 (최근 30일)
Muhammad Sajid
Muhammad Sajid 2016년 2월 4일
댓글: MHN 2016년 2월 4일
My text file contains coordinates of a molecule. The coordinates represents the frames of molecule. Every frame of molecule ends with 'TER' line in a file. I would like to extract all lines till 'TER' as a single element of array and keep continue extracting frames. It will stop at line with 'END' word.
  댓글 수: 2
Walter Roberson
Walter Roberson 2016년 2월 4일
Could you give a brief extract?
MHN
MHN 2016년 2월 4일
Once I have written the similar code. Please attach your text file in your question (for example with 3 entries) and I will change that code in the way that works for you.

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

답변 (0개)

카테고리

Help CenterFile Exchange에서 Text Data Preparation에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by