Changeset 42 for trunk/src/geometry_calib.m
- Timestamp:
- Mar 10, 2010, 7:43:51 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/geometry_calib.m
r36 r42 598 598 end 599 599 if ~isfield(sparam,'GeometryCalib_exe') 600 warndlg_uvmat(['calibration program <GeometryCalib_exe> undefined in parameter file ' xmlfile],'ERROR')600 msgbox_uvmat('ERROR',['calibration program <GeometryCalib_exe> undefined in parameter file ' xmlfile]) 601 601 return 602 602 end 603 603 Tsai_exe=sparam.GeometryCalib_exe; 604 604 if ~exist(Tsai_exe,'file') 605 warndlg_uvmat(['calibration program ' Tsai_exe ' does not exist'],'ERROR')605 msgbox_uvmat('ERROR',['calibration program ' Tsai_exe ' does not exist']) 606 606 return 607 607 end … … 612 612 eval(['!' Tsai_exe ' -f t.txt > tsaicalib.log']); 613 613 if ~exist('calib.dat','file') 614 warndlg_uvmat('no output from calibration program Tsai_exe: possibly too few points','ERROR')614 msgbox_uvmat('ERROR','no output from calibration program Tsai_exe: possibly too few points') 615 615 end 616 616 calibdat=dlmread('calib.dat'); … … 771 771 YCoord=str2num(coord_str(k(4)+5:end)); 772 772 else 773 warndlg_uvmat('the choice in menu_coord of uvmat must be px or phys ','ERROR')773 msgbox_uvmat('ERROR','the choice in menu_coord of uvmat must be px or phys ') 774 774 end 775 775 huvmat=findobj(allchild(0),'Name','uvmat');%find the current uvmat interface handle … … 874 874 end 875 875 if ~isfield(AxeData,'ZoomAxes') 876 warndlg_uvmat('first draw a window around a grid marker','ERRROR')876 msgbox_uvmat('ERROR','first draw a window around a grid marker') 877 877 return 878 878 end
Note: See TracChangeset
for help on using the changeset viewer.