Changeset 771 for trunk/src/series
- Timestamp:
- May 3, 2014, 5:20:29 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/series/civ_input.m
r765 r771 305 305 end 306 306 end 307 % indicate max and min indices updated from input file series (not stored in Param.ActionInput) 308 set(handles.MaxIndex_i,'String',num2str(MaxIndex_i)); 309 set(handles.MinIndex_i,'String',num2str(MinIndex_i)); 310 set(handles.MaxIndex_j,'String',num2str(MaxIndex_i)); 311 set(handles.MinIndex_j,'String',num2str(MinIndex_i)); 307 312 308 313 %% set the GUI to modal: wait for OK to close … … 546 551 checkbox(6)=get(handles.CheckPatch2,'Value'); 547 552 ind_selected=find(checkbox,1); 548 % if ~isempty(ind_selected)549 % RootPath=get(handles.RootPath,'String');550 % if isempty(RootPath)551 % msgbox_uvmat('ERROR','Please open an image or PIV .nc file with the upper bar menu Open/Browse...')552 % return553 % end554 % end555 553 set(handles.PairIndices,'Visible','on') 556 %set(handles.Civ1_ImageB,'Visible','on')557 %set(handles.TitleSubdirCiv1,'Visible','on')558 554 if opening==0 559 555 errormsg=find_netcpair_civ(handles,1); % select the available netcdf files … … 564 560 if max(checkbox(4:6))% case of civ2 pair choice needed 565 561 set(handles.TitlePairCiv2,'Visible','on') 566 % set(handles.TitleSubdirCiv2,'Visible','on')567 % set(handles.Civ2_ImageA,'Visible','on')568 %set(handles.ListSubdirCiv2,'Visible','on')569 562 set(handles.ListPairCiv2,'Visible','on') 570 563 if ~opening … … 575 568 end 576 569 else 577 % set(handles.TitleSubdirCiv2,'Visible','off')578 % set(handles.Civ2_ImageA,'Visible','off')579 570 set(handles.ListPairCiv2,'Visible','off') 580 571 end … … 956 947 mode_value=get(handles.ListPairMode,'Value'); 957 948 mode=mode_list{mode_value}; 949 errormsg=''; 958 950 if isequal(get(handles.CheckCiv1,'Value'),0)|| isequal(mode,'series(Dj)') 959 951 errormsg=find_netcpair_civ(handles,1);% update the menu of pairs depending on the available netcdf files … … 963 955 errormsg=find_netcpair_civ(handles,2); 964 956 end 965 957 if ~isempty(errormsg) 966 958 msgbox_uvmat('ERROR',errormsg) 967 959 end 968 960 969 961 %------------------------------------------------------------------------
Note: See TracChangeset
for help on using the changeset viewer.