Changeset 460 for trunk/src/imadoc2struct.m
- Timestamp:
- Jun 20, 2012, 12:01:16 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/imadoc2struct.m
r456 r460 30 30 [tild,tild,FileExt]=fileparts(ImaDoc); 31 31 if strcmp(FileExt,'.civ') 32 [errormsg,time,TimeUnit,mode,npx,npy, XmlData{iview}.GeometryCalib]=read_imatext(ImaDoc);32 [errormsg,time,TimeUnit,mode,npx,npy,s.GeometryCalib]=read_imatext(ImaDoc); 33 33 return 34 34 end … … 295 295 function [error,time,TimeUnit,mode,npx,npy,GeometryCalib]=read_imatext(fileinput) 296 296 %------------------------------------------------------------------------ 297 error= 0;%default297 error='';%default 298 298 time=[]; %default 299 299 TimeUnit='s'; … … 301 301 npx=[]; %default 302 302 npy=[]; %default 303 pxcmx=1;%default 304 pxcmy=1;%default 305 if exist(fileinput,'file')~=2, error=2, return;end;%input file does not exist 303 GeometryCalib=[]; 304 if ~exist(fileinput,'file'), error=['image doc file ' fileinput ' does not exist']; return;end;%input file does not exist 306 305 dotciv=textread(fileinput); 307 306 sizdot=size(dotciv);
Note: See TracChangeset
for help on using the changeset viewer.