Changeset 1180 for trunk/src/struct2xml.m
- Timestamp:
- Mar 27, 2025, 5:59:21 PM (3 weeks ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/struct2xml.m
r1127 r1180 51 51 [t,branch_uid]=add(t,root_uid,'element',fieldnames{ilist}); 52 52 t=struct2xml(val,t,branch_uid); 53 54 % fieldnames_sub=fields(val)55 % for ilist_sub=1:length(fieldnames_sub)56 % if isstruct(fieldnames_sub{ilist_sub})57 % t=struct2xml(fieldnames_sub{ilist_sub},t,uid);58 % % save(t)59 % else60 % val_sub=val.(fieldnames_sub{ilist_sub});61 % t=add_element(t,uid,fieldnames_sub{ilist_sub},val_sub);62 % end63 % end64 53 else 65 54 t=add_element(t,root_uid,fieldnames{ilist},val);
Note: See TracChangeset
for help on using the changeset viewer.