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

27 vues (au cours des 30 derniers jours)
I would like to convert an XML file into a tabular format. Is there a function to convert XML file to Excel format?

Réponse acceptée

MathWorks Support Team
MathWorks Support Team le 20 Mai 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:

Plus de réponses (0)

Produits


Version

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by