Rank: 10990 based on 0 downloads (last 30 days) and 0 file submitted

Neilen Marais

EMSS Magus

Personal Profile:


Watch this Author's files


Comments and Ratings by Neilen Marais
Updated File Comments Rating
03 Feb 2009 xml_io_tools Read XML files into MATLAB struct and writes MATLAB data types to XML Author: Jaroslaw Tuszynski


This is a great tool, but I'm having a problem. I'm trying to use it to save/load figure style structures. The problem is that the style structures include many empty strings. xml_write saves these as empty tags. When xml_read load the xml, empty tags are converted to empty matrices.

Ie. if I save an empty string ('') to xml, and load, I get an empty matrix ([]). This makes , e.g.

xml_write('figstyle.xml', figstyle);
figstyle_from_xml = xml_read('figstyle.xml')

complain. However, converting all empty matrices to empty strings when loading would not work, since some of the struct members _should_ be empty matrices.

I hope this could easily be fixed :)


Contact us