Changeset 114 for trunk/src/update_imadoc.m
- Timestamp:
- Oct 14, 2010, 6:35:03 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/update_imadoc.m
r84 r114 7 7 % outputfile: xml file to modify 8 8 %------------------------------------------------------------- 9 function update_imadoc(GeometryCalib,outputfile) 9 function errormsg=update_imadoc(GeometryCalib,outputfile) 10 errormsg=''; 10 11 testappend=0; 11 12 if exist(outputfile,'file');%=1 if the output file already exists, 0 else … … 19 20 end 20 21 [success,message]=copyfile(outputfile,backupfile);%make backup 22 if success==0 23 errormsg=message 24 end 21 25 uid=find(t,'ImaDoc'); 22 26 if ~isequal(uid,1) 23 27 return 24 end 25 28 end 26 29 %if the xml file is ImaDoc 27 30 uid_calib=find(t,'ImaDoc/GeometryCalib');
Note: See TracChangeset
for help on using the changeset viewer.