How to read data from xml files? (Loop all Parent and child nodes and get entire data to Excel)
6 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Please Help me to sort out this problem
Réponses (2)
rifat
le 26 Mai 2014
Use xmlread() function. see the documentation. http://www.mathworks.com/help/matlab/ref/xmlread.html
0 commentaires
Geoff Hayes
le 26 Mai 2014
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 commentaires
Voir également
Catégories
En savoir plus sur Spreadsheets dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!