xml2struct , with bug fix and added features
xml2struct takes either a java xml object, an xml file, or a string in xml format and returns a structure that preserves the tree relationship in the xml document. It is an improved version of another MATLAB file exchange submission : https://www.mathworks.com/matlabcentral/fileexchange/28518-xml2struct .
Specifically, it has following features:
1. Solved the issue that when comment is present, other data will be lost.
2. Fixed the " Undefined function 'toCharArray' for input arguments of type 'double'. " issue.
3. Added support for xml string.
Citation pour cette source
CY Y (2024). xml2struct , with bug fix and added features (https://github.com/joe-of-all-trades/xml2struct), GitHub. Extrait(e) le .
Compatibilité avec les versions de MATLAB
Plateformes compatibles
Windows macOS LinuxCatégories
- MATLAB > Data Import and Analysis > Data Import and Export > Standard File Formats > Structured Data and XML Documents >
- MATLAB > Language Fundamentals > Data Types > Characters and Strings > String Parsing >
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Découvrir Live Editor
Créez des scripts avec du code, des résultats et du texte formaté dans un même document exécutable.
Les versions qui utilisent la branche GitHub par défaut ne peuvent pas être téléchargées
Version | Publié le | Notes de version | |
---|---|---|---|
1.0.0.0 | Fixed the " Undefined function 'toCharArray' for input arguments of type 'double'. " issue.
Updated title |
|