MATLAB: Is there a function to convert XML file to EXCEL format

converthtmlMATLABtablexml

I would like to convert an XML file into a tabular format. Is there a function to convert XML file to Excel format?

Best Answer

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: