File Exchange

image thumbnail

xml2struct

version 1.7.1 (11.2 KB) by Jan Hermann
MEX function converts an XML file into a MATLAB structure

17 Downloads

Updated 18 Feb 2021

From GitHub

View Version History

View license on GitHub

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 (2021). xml2struct (https://github.com/jhrmnn/xml2struct/releases/tag/1.7.1), GitHub. Retrieved .

Comments and Ratings (5)

shunchao wu

this commit https://github.com/azag0/xml2struct/tree/a579 works with vs2010 and no boost needed. good.

Jan Hermann

sorry, I have never worked with matlab on windows

Eliyahu Sivaks

hi, can you please provide a Windows compiling instructions?

Jan Hermann

thanks, updated

christie harper

should comment that is is only for *nix distributions that have boost installed

MATLAB Release Compatibility
Created with R2014a
Compatible with R2014a to R2020b
Platform Compatibility
Windows macOS Linux
Tags Add Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!