Changeset 1165 for trunk/src/geometry_calib.m
- Timestamp:
- Jul 30, 2024, 6:44:35 PM (2 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/geometry_calib.m
r1159 r1165 850 850 end 851 851 outputfile=[filebase '.xml']; 852 [~,RootFile]=fileparts(filebase); 853 [~,~,errormsg]=update_imadoc(RootPath,SubDir,'GeometryCalib',GeometryCalib,0); 854 if ~strcmp(errormsg,'') 855 msgbox_uvmat('ERROR',errormsg); 852 % [~,RootFile]=fileparts(filebase); 853 854 t=xmltree; 855 t=set(t,1,'name','ImaDoc'); 856 [t,uid_calib]=add(t,1,'element','GeometryCalib'); 857 % xmlfile=[filebase '.xml']; 858 t=struct2xml(GeometryCalib,t,uid_calib); 859 save(t) 860 try 861 save(t,outputfile); 862 catch ME 863 errormsg=['error in saving ' outputfile ': ' ME.message]; 864 msgbox_uvmat('ERROR',errormsg); 856 865 end 857 866 listfile=get(handles.ListCoordFiles,'string');
Note: See TracChangeset
for help on using the changeset viewer.