struct2xml( s, varargin )

version (9.62 KB) by Jacob Lynch August
Import XML file as MATLAB struct.


Updated 15 Aug 2017

View License

Based on the work of Walter Faulkena, this submission includes logic to automatically convert arrays of structures into cells of structures, and to recursively remove empty Text fields that can cause xmlwrite to error.
See for W. Faulkena's original work.

Cite As

Jacob Lynch August (2022). struct2xml( s, varargin ) (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2016b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Inspired by: struct2xml

Community Treasure Hunt

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

Start Hunting!