The second of those XML tools (the parser) is not really so third party. It
was written by Guillaume, who now manages our development of SPM. It is also
included within the SPM5 distribution.
Best regards,
-John
On Thursday 05 June 2008 23:57, Senjem, Matthew L. [RO IMAGNG] wrote:
> Dear Xi,
> Yes, Matlab variables can be saved to and loaded from XML files. There are
> a couple of third party toolboxes I have used and they are pretty good.
>
> 1) XML Toolbox:
> http://www.mathworks.com/matlabcentral/fileexchange/loadFile.do?objectId=42
>78
>
> 2) XML Parser:
> http://www.mathworks.com/matlabcentral/fileexchange/loadFile.do?objectId=17
>57
>
> They both work pretty well, although there are sometimes issues involving
> converting between numbers and strings. The XML Toolbox is all p files
> instead of m files, and therefore can't be modified, but the XML Parser is
> open source.
>
> Best regards,
> Matt.
> Matthew L. Senjem
> Department of Information Technology
> Opus Center for Advanced Imaging Research
> Mayo Clinic, Rochester, MN, USA
> [log in to unmask]
> 507-538-0764 (office)
> 612-382-0396 (direct)
>
>
>
>
>
> From: Xi Cheng
> Sent: Thu 6/5/2008 5:07 PM
> To: [log in to unmask]
> Subject: [SPM] how to save matlab struct as xml file
>
>
> Is there an easy way to save spm struct or var as xml file?
>
> Thanks
>
> -Xi
|