Changeset 356 for trunk/src/xml2struct.m
- Timestamp:
- Jan 3, 2012, 12:58:52 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/xml2struct.m
r324 r356 1 % 'xml2struct': read an xml file as a Matlab structure, converts numeric character strings into numbers 2 %----------------------------------------------------------------------- 3 % function s=xml2struct(filename) 4 % 5 % OUTPUT: 6 % s= Matlab structure corresponding to the input xml file 7 % 8 % INPUT: 9 % filename: name of the xml file 10 1 11 function s=xml2struct(filename) 2 % structure parser, converts numeric character strings into numbers3 4 12 t=xmltree(filename); 5 13 ss=convert(t);
Note: See TracChangeset
for help on using the changeset viewer.