xml_parse.m
来自「这个程序即可以读取XMl文件并转换成matlab结构体」· M 代码 · 共 28 行
M
28 行
%XML_PARSE parses XML string and returns corresponding Matlab structure.%% SYNTAX% V = xml_parse(xmlstr)% V = xml_parse(xmlstr, attswitch)% V = xml_parse(xmlstr, attswitch, S)%% Parses XML string str and returns matlab variable/structure.% This is a non-validating parser!%% INPUT% str xml string, possibly from file with function xml_load.m% att_switch 'on'- reads attributes, 'off'- ignores attributes% S Optional. Variable which gets extended or whose% substructure parameters get overridden by entries in% the string. (may be removed in future versions)%% OUTPUT% V Matlab variable or structure%% RELATED% xml_format, xml_formatany, xml_parseany, xml_load, xml_save, (xmlread, xmlwrite) % Copyright (C) 2002-2005, University of Southampton% Author: Dr Marc Molinari <m.molinari@soton.ac.uk>% $Revision: 1.1 $ $Date: 2005/09/23 08:09:40 $ $Tag$
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?