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

1 Ansicht (letzte 30 Tage)
Sateesh Kandukuri
Sateesh Kandukuri am 27 Okt. 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

Antworten (1)

KSSV
KSSV am 27 Okt. 2022
  2 Kommentare
Sateesh Kandukuri
Sateesh Kandukuri am 27 Okt. 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 am 8 Nov. 2022
Bearbeitet: Sateesh Kandukuri am 9 Nov. 2022
I failed to implement it in my case using previous suggestions.

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Search Path finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by