Import multiple xml.files in a folder
3 次查看(过去 30 天)
显示 更早的评论
Hi,
I have more than 100 xml.files in a folder and I would like to import them in matlab. Each as a separate table for example and also to keep the names of the various file names. I cannot use the import tool since it does not deal with this file type. Does anybody have some advice?
Sincerely,
0 个评论
回答(1 个)
ANKUR KUMAR
2021-11-16
F = dir('path/*.xml')
for index = 1:length(F)
DOMnode = xmlread(F(index));
end
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 MATLAB Report Generator 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!