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

1 次查看(过去 30 天)
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

回答(1 个)

KSSV
KSSV 2022-10-27
  2 个评论
Sateesh Kandukuri
Sateesh Kandukuri 2022-10-27
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 2022-11-8
编辑:Sateesh Kandukuri 2022-11-9
I failed to implement it in my case using previous suggestions.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Search Path 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by