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



Personal Profile:

DSP engineer.


Watch this Author's files


Comments and Ratings by Joshua
Updated File Comments Rating
11 Mar 2012 xml_io_tools Read XML files into MATLAB struct and writes MATLAB data types to XML Author: Jaroslaw Tuszynski


This xml_io_tool is very useful for me. But I have found some problems.

Here is a PVG810.xml. I read it and rewrite it again, the attributs of xml file is sorted alphabetically.

% MATLAB 2011B
% Read xml firstly.
[tree rootname domnode]= xml_read('PVG810.xml')

% Write xml again.
Pref.StructItem = 'false';
xml_write(tree, rootname, domnode,Pref.StructItem);

The initial:
<PVG810 BuildVersion = "1000"
TableVersion = "2000"
HeaderVersion = "1"
.... >

After writting:

<PVG810 ADCResolution = "18"
ADCTempOffset = "0"
ADCVref= "19"
BulidVersion = "1000"
.... >

How is happened. How can I take it?

Contact us