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 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

Find more on Search Path in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by