xml2struct
Convert an xml file into a MATLAB structure for easy access to the data.
Cite As
Wouter Falkena (2024). xml2struct (https://www.mathworks.com/matlabcentral/fileexchange/28518-xml2struct), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- MATLAB > Data Import and Analysis > Data Import and Export > Standard File Formats > Structured Data and XML Documents >
Tags
Acknowledgements
Inspired: Meteomatics Weather API Connector, Simulation of XPN models, Download elevations from Google Maps (API key required), xml2struct , with bug fix and added features, acampb311/xml2struct, maxsich/loadSPE, Microscopy Image Browser (MIB), Microscopy Image Browser 2 (MIB2), prowlpush: Prowl Notifications for MATLAB, Freehand Prostate Annotation, colladaParser
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.8.0.0 | Small bugfix in the CDATA and Comment structure fields. |
||
1.7.0.0 | Speed improvement due to X. Mo and added support for cdata and comments. |
||
1.5.0.0 | The function now replaces element and attribute names containing - by _dash_, . by _dot_ and : by _colon_ |
||
1.4.0.0 | Attribute parsing speed increased by 40% |
||
1.3.0.0 | Corrected the uploaded file |
||
1.2.0.0 | Removed the assumption that the filename should have a '.xml' extension |
||
1.1.0.0 | Decreased the processing time for large XML files |
||
1.0.0.0 |