How to read data from xml files? (Loop all Parent and child nodes and get entire data to Excel)
조회 수: 4 (최근 30일)
이전 댓글 표시
Please Help me to sort out this problem
답변 (2개)
rifat
2014년 5월 26일
Use xmlread() function. see the documentation. http://www.mathworks.com/help/matlab/ref/xmlread.html
댓글 수: 0
Geoff Hayes
2014년 5월 26일
Varun - what code do you have so far? If you have an xml file, then you can read the data from it with xmlread ( http://www.mathworks.com/help/matlab/ref/xmlread.html). Start with that and determine how to iterate over the parent and child nodes. From there, use the xlswrite ( http://www.mathworks.com/help/matlab/ref/xlswrite.html) to write the data to the Excel spreadsheet in whatever format you desire.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Spreadsheets에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!