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

Bassem Hassan

E-mail

Personal Profile:
Professional Interests:

 

Watch this Author's files

 

Comments and Ratings by Bassem View all
Updated File Comments Rating
05 Nov 2010 xml_io_tools Read XML files into MATLAB struct and writes MATLAB data types to XML Author: Jaroslaw Tuszynski

Than you Jarosalw, it's working

04 Nov 2010 xml_io_tools Read XML files into MATLAB struct and writes MATLAB data types to XML Author: Jaroslaw Tuszynski

This is a great tool. It has greatly simplified my work, thank you

i have a smal problem here, may be one of you have an answer for it

if i have the following simple xml file
<Head0>
<Head1>
<Variable x="1" y="2">
<Type2d/>
</Variable>

<Variable x="3" y="4">
<Type3d z="20" />
</Variable>

<Variable x="5" y="6">
<Type2d/>
</Variable>

</Head1>
</Head0>

and i need to make a for loop to test the type for each variable type
(var1--> 2d var2-->3d var3 -->2d)

till now i cannot do that because the result when i access the variable 1 is

% matlab command window

tree=xml_read(very_simple.xml')
tree.Head1.Variable(1)

ans =

Type2d: []
ATTRIBUTE: [1x1 struct]
Type3d: []
could any one help me

Thanks in advance

Contact us