Import multiple xml.files in a folder
조회 수: 8 (최근 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
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!