how to use xmlread in a very simple example
Show older comments
I would like a very simple example for reading numeric data from a xml file using xml read. I would like the xml file to be something like:
<!-- This is a simple xml file containing data -->
<file>
<data>
<variable1>100</variable1>
<variable2>200</variable2>
</data>
</file>
4 Comments
Guillaume
on 12 Jul 2018
I've edited the question to make it readable. In the future, use the {}Code button to format code properly.
Adam Danz
on 12 Jul 2018
doc xmlread
shows simple examples that you're requesting.
Bruce McWhorter
on 12 Jul 2018
Edited: Guillaume
on 12 Jul 2018
Accepted Answer
More Answers (0)
Categories
Find more on Structured Data and XML Documents in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!