虫虫首页|资源下载|资源专辑|精品软件
登录|注册

您现在的位置是:虫虫下载站 > 资源下载 > matlab例程 > The XML Toolbox converts MATLAB data types (such as double, char, struct, complex, sparse, logical)

The XML Toolbox converts MATLAB data types (such as double, char, struct, complex, sparse, logical)

  • 资源大小:210 K
  • 上传时间: 2016-02-12
  • 上传用户:wentianliang
  • 资源积分:2 下载积分
  • 标      签: converts Toolbox complex logical

资 源 简 介

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).

相 关 资 源