extract data from a text file in a loop
2 次查看(过去 30 天)
显示 更早的评论
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 个评论
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 Center 和 File Exchange 中查找有关 Other Formats 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!