Convert XML file to a MATLAB structure
Ältere Kommentare anzeigen
I'm trying to convert a XML file to a matlab structure (I want to use numbers and data from the file), I've tried to use the suggested XML parse function from the website, but it does not work.
Is there another function or is there someone who could explain how to use the function? BR Johan
Akzeptierte Antwort
Weitere Antworten (3)
Pritom Kumar Saha
am 3 Aug. 2021
4 Stimmen
Try
S = readstruct("abcd.xml")
it works on my matlab version.
It should work on matlab 2020b or higher version.
3 Kommentare
NitzBr
am 13 Dez. 2021
THANK YOU!
Seth
am 9 Mär. 2022
This worked for me very well - thank you!
xmlread did not work well for my files/data. This is a good example of why this site is so helpful!
S. Gokhun Tanyer
am 19 Dez. 2022
Thanks, worked elegantly. No problem left on my side. Thanks again!
Brad
am 12 Sep. 2011
1 Stimme
wildan
am 12 Okt. 2011
1 Stimme
How to convert DWG to XML. DWG is format from AutoCAD
1 Kommentar
Walter Roberson
am 9 Mär. 2022
I wonder if you could do it by way of ActiveX ?
Kategorien
Mehr zu Structured Data and XML Documents finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!