Changeset 461 for trunk/src/civ.m


Ignore:
Timestamp:
Jun 20, 2012, 2:13:34 PM (12 years ago)
Author:
sommeria
Message:

a few bug repairs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/civ.m

    r452 r461  
    44384438
    44394439function 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 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
     4440% 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
    44534453
    44544454% --- Executes on selection change in ListProgram.
Note: See TracChangeset for help on using the changeset viewer.