tinyxml2 wrapper

版本 1.7.1 (45.1 KB) 作者: Ladislav Dobrovsky
tinyxml2_wrap - XML serializing/deserializing of MATLAB arrays
2.6K 次下载
更新时间 2019/3/8

查看许可证

can handle:
- real and complex matrices: scalars, 1D, 2D, N-D arrays
- struct arrays
- cell arrays
- function handles
- nesting of structures/cells
NOT supported: objects, xml attributes (are used for types and sizes)
usage:
tinyxml2_wrap('save', filename, variable)
tinyxml2_wrap('save', filename, variable, exportOptions)
variable = tinyxml2_wrap('load', filename)
... parse, format, version modes: see help
compile with:
mex tinyxml2_wrap.cpp tinyxml2.cpp
performance:
on average up to 10x speedup over using XML Toolbox by Marc Molinari

引用格式

Ladislav Dobrovsky (2024). tinyxml2 wrapper (https://www.mathworks.com/matlabcentral/fileexchange/48308-tinyxml2-wrapper), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2008b
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Structured Data and XML Documents 的更多信息
致谢

参考作品: XML Toolbox

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
版本 已发布 发行说明
1.7.1

dependencies and description update

1.7

format and parse modes - XML in strings, not files
description

1.5.0.0

N-D arrays (Peter van den Biggelaar)
function handles (Ladislav Dobrovsky)

1.4.0.0

proper loading of struct arrays without explicit indexes (thx to Peter van den Biggelaar)

1.3.0.0

custom format for double and single floating point,
control of export class and size of variables,
uint8, int8 bug resolved,
uint32 bug resolved

1.2.0.0

typo; performance

1.1.0.0

syntax

1.0.0.0