you can find some Matlab scripts for working with XML.
The function XmlLoad reads an XML file into a
Matlab variable of type struct, and the
function XmlSave saves matlab variable of type struct into an XML file.
1. The function XmlLoad uses widely
the function str2num. In some Matlab versions, it is implemented via eval. This makes
the above function somewhat dangerous to use. Be careful!
2. If you will use those
function back and forth you might change the input. Here are some of the reasons:
function XmlLoad ignores everything which is not an element or an attribute.
function XmlSave ignores any field which is not a struct or a string or a number.
function XmlSave saves attributes instead of simple elements.