xml_read_write matlab to read and write xml copy some code from http://cn.mathworks.com/matlabcentral/fileexchange/12907-xml-io-tools this version has some problem when dealing with structure.