文件名称:XMLlToolbox2
- 所属分类:
- matlab例程
- 资源属性:
- [Matlab] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 209kb
- 下载次数:
- 0次
- 提 供 者:
- leimin*******
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
The XML Toolbox converts MATLAB data types (such as double, char, struct, complex, sparse, logical) of any level of nesting to XML format and vice versa.
For example,
>> project.name = MyProject
>> project.id = 1234
>> project.param.a = 3.1415
>> project.param.b = 42
becomes with str=xml_format(project, off )
"<project>
<name>MyProject</name>
<id>1234</id>
<param>
<a>3.1415</a>
<b>42</b>
</param>
</project>"
On the other hand, if an XML string XStr is given, this can be converted easily to a MATLAB data type or structure V with the command V=xml_parse(XStr).
For example,
>> project.name = MyProject
>> project.id = 1234
>> project.param.a = 3.1415
>> project.param.b = 42
becomes with str=xml_format(project, off )
"<project>
<name>MyProject</name>
<id>1234</id>
<param>
<a>3.1415</a>
<b>42</b>
</param>
</project>"
On the other hand, if an XML string XStr is given, this can be converted easily to a MATLAB data type or structure V with the command V=xml_parse(XStr).
(系统自动生成,下载前可以参看下载内容)
下载文件列表
xml_toolbox-2.0
...............\doc
...............\...\xml_toolbox-2.0.doc
...............\...\xml_toolbox-2.0.htm
...............\...\xml_toolbox-2.0.pdf
...............\INSTALL.TXT
...............\LICENCE.TXT
...............\matlab.xsd
...............\strsplit.m
...............\tests
...............\.....\sample1.xml
...............\.....\sample2.xml
...............\.....\sample3.xml
...............\.....\sample4.xml
...............\.....\teststrings.xml
...............\.....\test_001.xml
...............\.....\test_children.xml
...............\.....\test_double.xml
...............\.....\test_doublevector.xml
...............\.....\test_empty.xml
...............\.....\test_emptyelement.xml
...............\.....\test_emptyelements.xml
...............\.....\test_emptyelementvector.xml
...............\.....\test_mixedchildren.xml
...............\.....\test_mixedvector_doublechar.xml
...............\.....\test_multilayer.xml
...............\.....\test_multilayer_vector.xml
...............\.....\test_multiple_cell.xml
...............\.....\test_multiple_struct.xml
...............\.....\xml_format_old.m
...............\.....\xml_test.m
...............\.....\xml_tests.m
...............\xml_format.m
...............\xml_help.m
...............\xml_load.m
...............\xml_parse.m
...............\xml_save.m
...............\xml_toolbox-2.0.txt
...............\doc
...............\...\xml_toolbox-2.0.doc
...............\...\xml_toolbox-2.0.htm
...............\...\xml_toolbox-2.0.pdf
...............\INSTALL.TXT
...............\LICENCE.TXT
...............\matlab.xsd
...............\strsplit.m
...............\tests
...............\.....\sample1.xml
...............\.....\sample2.xml
...............\.....\sample3.xml
...............\.....\sample4.xml
...............\.....\teststrings.xml
...............\.....\test_001.xml
...............\.....\test_children.xml
...............\.....\test_double.xml
...............\.....\test_doublevector.xml
...............\.....\test_empty.xml
...............\.....\test_emptyelement.xml
...............\.....\test_emptyelements.xml
...............\.....\test_emptyelementvector.xml
...............\.....\test_mixedchildren.xml
...............\.....\test_mixedvector_doublechar.xml
...............\.....\test_multilayer.xml
...............\.....\test_multilayer_vector.xml
...............\.....\test_multiple_cell.xml
...............\.....\test_multiple_struct.xml
...............\.....\xml_format_old.m
...............\.....\xml_test.m
...............\.....\xml_tests.m
...............\xml_format.m
...............\xml_help.m
...............\xml_load.m
...............\xml_parse.m
...............\xml_save.m
...............\xml_toolbox-2.0.txt