Rank: 340980 based on 0 downloads (last 30 days) and 0 file submitted
photo

Christoph

E-mail

Personal Profile:

 

Watch this Author's files

 

Comments and Ratings by Christoph
Updated File Comments Rating
16 Sep 2010 xml_io_tools Read XML files into MATLAB struct and writes MATLAB data types to XML Author: Jaroslaw Tuszynski

I like this tool, because it gives me the matrix out of this xml:

<linear>
<tensor dim1="3" dim2="6">
<real>
0 0 0 0 9.24234 0
0 0 0 9.24234 0 0
-9.03752 -9.03752 11.3172 0 0 0
</real>
</tensor>
</linear>

but writing modifications of this matrix back to file, I get a matlab style matrix:

<linear>
<tensor dim1="6" dim2="6">
<real>[121974000000 75494200000 73897300000 0 0 0; 75494200000 121974000000 73897300000 0 0 0; 73897300000 73897300000 104339000000 0 0 0; 0 0 0 21631600000 0 0; 0 0 0 0 21631600000 0; 0 0 0 0 0 23239900000]</real>
</tensor>
</linear>

which I cannot process any further.
I tried all switches, but nothing changes.
Any help?

Contact us