필터 지우기
필터 지우기

Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

Reading text under blocks and select blocks containing the data...

조회 수: 1 (최근 30일)
Joao
Joao 2017년 5월 8일
마감: MATLAB Answer Bot 2021년 8월 20일
Hi all,
I have a ascii file with several million lines which is defined as follows:
< startblock >
value value2 value3
.
.
.
< endblock >
< startblock >
value value2 value3
.
.
.
< endblock >
My goal is to go into each block and read the values inside. If these values are of interest I want to select the entire block and save it as a new file. Can someone give me some insight on how to do this?
Thanks in advance!
Best regards
Joao
  댓글 수: 3
Walter Roberson
Walter Roberson 2017년 5월 8일
Do you have enough memory to be able to read the entire file at one time and then analyze it?
KSSV
KSSV 2017년 5월 9일
If these values are of interest I want to select the entire block what's the criteria to select? I think what you have is a x,y,z data. At the end you want to plot and see?

답변 (0개)

이 질문은 마감되었습니다.

태그

Community Treasure Hunt

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

Start Hunting!

Translated by