Changeset 356 for trunk/src/xml2struct.m


Ignore:
Timestamp:
Jan 3, 2012, 12:58:52 AM (9 years ago)
Author:
sommeria
Message:

civ updated with new functions for opening files, consistently with uvmat
Bugs to be expected (use previous version then)

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
    111function s=xml2struct(filename)
    2 % structure parser, converts numeric character strings into numbers
    3 
    412t=xmltree(filename);
    513ss=convert(t);
Note: See TracChangeset for help on using the changeset viewer.