⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 xml_format.m

📁 这个程序即可以读取XMl文件并转换成matlab结构体
💻 M
字号:
%XML_FORMAT  Convert a Matlab variable or struct into an XML string.%% SYNTAX:       xmlstr = xml_format(v, [attswitch], [name] )%% INPUT%   v           Matlab variable type "struct", "char", "double"(numeric),%               "complex", "sparse", "cell", or "logical"(boolean)%   attswitch   optional, default='on':%               'on' writes header attributes idx,size,type for%                    identification by Matlab when parsing in XML later%               'off' writes "plain" XML without header attributes%   name        optional, give root element a specific name, eg. 'project'%% OUTPUT%   xmlstr      string, containing XML description of variable V%% SEE ALSO%   xml_help, xml_formatany, xml_parse, 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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -