Changeset 940 for trunk/src/series.m
- Timestamp:
- Apr 12, 2016, 4:01:13 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/series.m
r937 r940 1424 1424 return 1425 1425 end 1426 if isfield(Param,'InputFields')&& is equal(Param.InputFields.FieldName,'get_field...')1426 if isfield(Param,'InputFields')&& isfield(Param.InputFields,'FieldName')&& isequal(Param.InputFields.FieldName,'get_field...') 1427 1427 errormsg='input field name(s) not defined, select get_field...'; 1428 1428 return … … 2294 2294 2295 2295 %% Detect the types of input files and set menus and default options in 'FieldName' 2296 if FieldNameRequest&& numel(iview_netcdf)>=12297 set(handles.InputFields,'Visible','on') 2298 %if CheckList==0 % not civ input made2299 if isfield(SeriesData.FileInfo{iview_netcdf(1)},'ListVarName')2296 if (FieldNameRequest || VelTypeRequest) && numel(iview_netcdf)>=1 2297 set(handles.InputFields,'Visible','on') 2298 if FieldNameRequest && isfield(SeriesData.FileInfo{iview_netcdf(1)},'ListVarName') 2299 set(handles.FieldName,'Visible','on') 2300 2300 ListVarName=SeriesData.FileInfo{iview_netcdf(1)}.ListVarName; 2301 2301 ind_var=get(handles.FieldName,'Value');%indices of previously selected variables … … 2354 2354 set(handles.FieldName_1,'Visible','off') 2355 2355 end 2356 end 2357 % else 2358 % set(handles_coord,'Visible','off')% no coord display for civ data 2359 % end 2356 else 2357 set(handles.FieldName,'Visible','off') 2358 end 2360 2359 set(handles.FieldName,'String',FieldList) 2361 2360 else
Note: See TracChangeset
for help on using the changeset viewer.