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!