From Spinach Documentation Wiki
Converts an XML file into a Matlab structure.
This function is called by x2spinach.m during import of SpinXML files. Direct calls are discouraged.
filename - a string with the XML file name
xml - Matlab structure containing the information from the XML file
SpinXML specification is available at http://spindynamics.org
Version 2.1, authors: Ilya Kuprov