Ignore:
Timestamp:
Oct 14, 2010, 6:35:03 PM (14 years ago)
Author:
sommeria
Message:

geometric calibration procedures updated

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/update_imadoc.m

    r84 r114  
    77% outputfile: xml file to modify
    88%-------------------------------------------------------------
    9 function update_imadoc(GeometryCalib,outputfile)
     9function errormsg=update_imadoc(GeometryCalib,outputfile)
     10errormsg='';
    1011testappend=0;
    1112if exist(outputfile,'file');%=1 if the output file already exists, 0 else 
     
    1920    end
    2021    [success,message]=copyfile(outputfile,backupfile);%make backup
     22    if success==0
     23        errormsg=message
     24    end
    2125    uid=find(t,'ImaDoc');
    2226    if ~isequal(uid,1)
    2327        return
    24     end
    25        
     28    end       
    2629    %if the xml file is  ImaDoc
    2730    uid_calib=find(t,'ImaDoc/GeometryCalib');
Note: See TracChangeset for help on using the changeset viewer.