MEX function converts an XML file into a MATLAB structure
You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
Being a C++ mex function, it is very fast compared to the built-in xmlread or any other pure matlab implementation. It can directly read n-dimensional arrays.
For details, see https://github.com/jhrmnn/xml2struct
Cite As
Jan Hermann (2026). xml2struct (https://github.com/jhrmnn/xml2struct/releases/tag/1.7.1), GitHub. Retrieved .
Acknowledgements
Inspired: JuGEx - Julich-Brain Gene Expression, maxsich/loadSPE
General Information
- Version 1.7.1 (11.2 KB)
-
View License on GitHub
MATLAB Release Compatibility
- Compatible with R2014a to R2020b
Platform Compatibility
- Windows
- macOS
- Linux
Versions that use the GitHub default branch cannot be downloaded
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.7.1 | See release notes for this release on GitHub: https://github.com/jhrmnn/xml2struct/releases/tag/1.7.1 |
||
| 1.7.0.0 | Removed dependency on Boost, refactored to C++11 |
||
| 1.6.0.0 | Rapidxml is now downloaded during build |
||
| 1.5.0.0 | rewrote the array parsing, no specification provided, see example XML file |
||
| 1.4.0.0 | tags updated |
||
| 1.0.0.0 | |||
| 0.9.0.0 | See release notes for this release on GitHub: https://github.com/jhrmnn/xml2struct/releases/tag/0.9.0 |
