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).
Tornado 的manuals 很全面,國內的書大部分是翻譯的它。經常需要查閱的。Tornado Online Manuals
GDB User s Guide
GNU Make User s Guide
GNU Toolchain Release Notes
GNU Toolkit User s Guide for Pentium
GNU Toolkit User s Guide for Simulators, 68K, and SH
Tornado API Guide
Tornado API Reference
Tornado Getting Started Guide (Windows Version)
Tornado Migration Guide
Tornado Reference
Tornado Release Notes
Tornado SETUP SDK Developer s Guide
Tornado User s Guide (Windows Version)
USB Developer s Kit Programmer s Guide
USB Developer s Kit Release Notes
VxWorks API Reference
VxWorks BSP Developer s Guide
VxWorks BSP Developer s Reference
VxWorks BSP Reference
VxWorks Errno Code List
VxWorks Network Programmer s Guide
VxWorks Programmer s Guide
VxWorks for Pentium Architecture Supplement
WindView User s Guide
WindView User s Reference
漢諾塔!!!
Simulate the movement of the Towers of Hanoi puzzle Bonus is possible for using animation
eg. if n = 2 A→B A→C B→C
if n = 3 A→C A→B C→B A→C B→A B→C A→C
跨數據庫平臺:
n 支持 oracle 的OCI
n 支持DB2的CLI,
n 支持ODBC(通過ODBC,可支持SQL SERVER,MySQL等)
Ø 跨OS平臺:
n 標準C++語言,支持 unix/linux/windows
Ø 使用簡單:
n 只有一個頭文件
n 接口簡潔.otl_stream, otl_connect, otl_exception等就可以完成大部分工作
n 相對 ProC等嵌入式開發,代碼能相應減少
Ø 性能:
n 直接訪問數據庫API接口,具有API接口的高效率,可靠性
Ø 穩定性:
n 開源代碼,唯一的代碼文件otlv4.h,可以了解所有基于數據庫API的實現細節
n 從1996年開始,到今已10余年.
Ø 可讀性及可維護性:
n 標準C++代碼,不需要任何預處理
n 使用流的形式,輸入輸出異常簡潔
n 減少大量代碼,
n 代碼結構更加簡潔
參考資料:
http://otl.sourceforge.net/