Convert XML file to a MATLAB structure
200 views (last 30 days)
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
More Answers (3)
Pritom Kumar Saha on 3 Aug 2021
S = readstruct("abcd.xml")
it works on my matlab version.
It should work on matlab 2020b or higher version.
Brad on 12 Sep 2011