Borrar filtros
Borrar filtros

Info

La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.

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

1 visualización (últimos 30 días)
Joao
Joao el 8 de Mayo de 2017
Cerrada: MATLAB Answer Bot el 20 de Ag. de 2021
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 comentarios
Walter Roberson
Walter Roberson el 8 de Mayo de 2017
Do you have enough memory to be able to read the entire file at one time and then analyze it?
KSSV
KSSV el 9 de Mayo de 2017
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?

Respuestas (0)

La pregunta está cerrada.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by