comparison toolboxes/xml_toolbox/xml_load.m @ 0:e9a9cd732c1e tip

first hg version after svn
author wolffd
date Tue, 10 Feb 2015 15:05:51 +0000
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:e9a9cd732c1e
1 %XML_LOAD Loads XML file and return contents as Matlab structure or variable
2 %
3 % SYNTAX V = xml_load( filename )
4 % V = xml_load( filename, attswitch )
5 %
6 % INPUT
7 % filename filename of xml file to load (if extension .xml is omitted,
8 % xml_load tries to append it if the file cannot be found).
9 % This file should have been saved with xml_save().
10 % If it's a non-Matlab XML file, please use e.g.
11 % xmlstr = fileread(filename); V = xml_parseany(xmlstr);
12 % attswitch optional, default='on':
13 % 'on' takes attributes idx,size,type into account for
14 % creating corresponding Matlab data types
15 % 'off' ignores attributes in XML element headers
16 %
17 % OUTPUT
18 % V Matlab structure or variable
19 %
20 % SEE ALSO
21 % xml_save, xml_format, xml_formatany, xml_parse, xml_parseany, xml_help, (xmlread, xmlwrite)
22
23 % Copyright (C) 2002-2005, University of Southampton
24 % Author: Dr Marc Molinari <m.molinari@soton.ac.uk>
25 % $Revision: 1.1 $ $Date: 2005/04/15 17:12:14 $ $Tag$
26