Reading and modifying XML file using MATLAB

  • Follow


Hi

I have a XML file exported from Copasi (a modelling software). Using a MATLAB script, how would I go about reading in this XML file so that the ODEs and parameter values contained in this XML are displayed clearly in the MATLAB command window? 

Ultimately, I would like to change some parameter values using MATLAB and rewrite these back into the XML file. 
 
I have tried XMLREAD the SBML Toolbox and xml2struct.m but find the whole 'node' and 'children' very confusing. Therefore if there is a way to convert SBML into simple to read terms in MATLAB that would be fantastic. 

Regards,

Jenny
0
Reply Jie 4/14/2010 5:16:06 PM

Hi,

Take a look at 
http://www.mathworks.com/access/helpdesk/help/techdoc/ref/xmlread.html


Hope it helps...
Regards
0
Reply PsyKo 4/14/2010 6:22:20 PM


1 Replies
914 Views

(page loaded in 0.021 seconds)

Similiar Articles:













7/20/2012 7:42:09 PM


Reply: