Changeset 565 for trunk/src/struct2xml.m


Ignore:
Timestamp:
Jan 30, 2013, 10:15:30 PM (8 years ago)
Author:
sommeria
Message:

small bugs corrected

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/struct2xml.m

    r493 r565  
    3131          if isstruct(fieldnames_sub{ilist_sub})
    3232                t=struct2xml(fieldnames_sub{ilist_sub},t,uid);
    33                 save(t)
     33%                 save(t)
    3434          else
    35               eval(['val_sub=val.' fieldnames_sub{ilist_sub} ';'])
     35              val_sub=val.(fieldnames_sub{ilist_sub});
    3636              t=add_element(t,uid,fieldnames_sub{ilist_sub},val_sub);
    3737          end
Note: See TracChangeset for help on using the changeset viewer.