Changeset 82 for trunk/src/civ.m
- Timestamp:
- Apr 15, 2010, 5:12:42 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/civ.m
r81 r82 295 295 end 296 296 end 297 [RootPath,RootFile,str1,str2,str_a,str_b,ext,nom_type,subdir]=name2display(fileinput) 297 [RootPath,RootFile,str1,str2,str_a,str_b,ext,nom_type,subdir]=name2display(fileinput); 298 298 filebase=fullfile(RootPath,RootFile); 299 299 % if isequal(nom_type,'*')% all fields in a single file ( movie files) … … 355 355 set(handles.ImaDoc,'String',ext); 356 356 if ~isempty(num_i1) 357 ref_i=num_i1 358 'TEStbrowse' 359 num_i2 357 ref_i=num_i1; 360 358 if ~isempty(num_i2) 361 359 ref_i=floor((ref_i+num_i2)/2);% reference image number corresponding to the file … … 2109 2107 end 2110 2108 if isfield(sparam,'CivBin') 2111 CivBin=sparam.CivBin 2109 CivBin=sparam.CivBin; 2112 2110 end 2113 2111 if isfield(sparam,'Civ1Bin') … … 2356 2354 par_civ1.maskname=name_generator(maskbase,num1_mask,1,'.png','_i'); 2357 2355 if exist(par_civ1.maskname,'file') 2358 par_civ1.maskflag='y'; 2356 par_civ1.maskflag='y'; 2359 2357 else 2360 2358 par_civ1.maskname='noFile use default'; … … 2664 2662 save(civAllxml,[filename_cmx([1:end-4]) '.xml']); 2665 2663 %cmd=char({cmd;[CivBin ' -f ' [filename_cmx([1:end-4]) '.xml'] ' ' civAllCmd]}); 2666 cmd=[cmd '\n' CivBin ' -f ' filename_cmx(1:end-4) '.xml ' civAllCmd] 2664 cmd=[cmd '\n' CivBin ' -f ' filename_cmx(1:end-4) '.xml ' civAllCmd]; 2667 2665 end 2668 2666 % create the .bat file: … … 3993 3991 set(handles.mask_fix2,'String',mask_displ) 3994 3992 end 3993 set(handles.mask_civ2,'Value',maskval) 3995 3994 3996 3995 %------------------------------------------------------------------------
Note: See TracChangeset
for help on using the changeset viewer.