Borrar filtros
Borrar filtros

How to read a table.txt from series of folders?

1 visualización (últimos 30 días)
Sateesh Kandukuri
Sateesh Kandukuri el 27 de Oct. de 2022
Editada: Sateesh Kandukuri el 9 de Nov. de 2022
Could you please help me to read the data from a table.txt in a series of subfolders from a directory?
clear;
folderList = dir('folder_*.out');
for i=1:length(folderList)
A=readmatrix('table.txt');
end

Respuestas (1)

KSSV
KSSV el 27 de Oct. de 2022
  2 comentarios
Sateesh Kandukuri
Sateesh Kandukuri el 27 de Oct. de 2022
Dear KSSV, Thank you so much for the suggestion. But I failed to apply it to my case. I am unable to decode it. Could you please provide an alternate solution?
Sateesh Kandukuri
Sateesh Kandukuri el 8 de Nov. de 2022
Editada: Sateesh Kandukuri el 9 de Nov. de 2022
I failed to implement it in my case using previous suggestions.

Iniciar sesión para comentar.

Categorías

Más información sobre Search Path en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by