Changeset 461 for trunk/src/civ.m
- Timestamp:
- Jun 20, 2012, 2:13:34 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/civ.m
r452 r461 4438 4438 4439 4439 function NomType_Callback(hObject, eventdata, handles) 4440 set(handles.RootPath,'BackgroundColor',[1 1 0])%paint RootName edit box in yellow to indicate that the file input is proceeding4441 RootPath=get(handles.RootPath,'String');4442 RootFile=get(handles.RootFile,'String');4443 ref_i=str2num(get(handles.ref_i,'String'));4444 ref_j=str2num(get(handles.ref_j,'String'));4445 NomType=get(handles.NomType,'String');4446 ImaExt=get(handles.ImaExt,'String');4447 fileinput=fullfile_uvmat(RootPath,'',RootFile,ImaExt,NomType,ref_i,[],ref_j);4448 errormsg=display_file_name(handles,fileinput);4449 if ~isempty(errormsg)4450 msgbox_uvmat('ERROR',errormsg)4451 end4452 set(handles.RootPath,'BackgroundColor',[1 1 1])%paint RootName back to white to indicate that the file input is finished4440 % set(handles.RootPath,'BackgroundColor',[1 1 0])%paint RootName edit box in yellow to indicate that the file input is proceeding 4441 % RootPath=get(handles.RootPath,'String'); 4442 % RootFile=get(handles.RootFile,'String'); 4443 % ref_i=str2num(get(handles.ref_i,'String')); 4444 % ref_j=str2num(get(handles.ref_j,'String')); 4445 % NomType=get(handles.NomType,'String'); 4446 % ImaExt=get(handles.ImaExt,'String'); 4447 % fileinput=fullfile_uvmat(RootPath,'',RootFile,ImaExt,NomType,ref_i,[],ref_j); 4448 % errormsg=display_file_name(handles,fileinput); 4449 % if ~isempty(errormsg) 4450 % msgbox_uvmat('ERROR',errormsg) 4451 % end 4452 % set(handles.RootPath,'BackgroundColor',[1 1 1])%paint RootName back to white to indicate that the file input is finished 4453 4453 4454 4454 % --- Executes on selection change in ListProgram.
Note: See TracChangeset
for help on using the changeset viewer.