Is there a function to convert XML file to EXCEL format?

33 views (last 30 days)
I would like to convert an XML file into a tabular format. Is there a function to convert XML file to Excel format?

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 20 May 2020
Currently MATLAB does not have a builtin function providing this functionality. As a potential workaround, you can try the following steps:
1) Convert XML file to HTMLfile
>> rptconvert('myFile.xml');
This would create a file called 'myFile.html' in your current folder.
2) Convert HTML file to Excel format using the following steps:

More Answers (0)




Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!