Changeset 675 for trunk/src/get_field.m
- Timestamp:
- Aug 27, 2013, 11:25:21 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/get_field.m
r674 r675 727 727 end 728 728 end 729 var_component=find(test_component);% list of variable indices elligible as unstructured coordi antes729 var_component=find(test_component);% list of variable indices elligible as unstructured coordinates 730 730 var_coord=find(test_coord);% % list of variable indices elligible as structured coordinates 731 731 ListCoord=Field.Display.ListVarName([var_component var_coord]); … … 755 755 end 756 756 end 757 if isempty( coord_val)757 if isempty(find(coord_val)) 758 758 coord_val=var_coord;% case of dimension coordinates 759 759 end 760 760 if numel(find(coord_val))<2 761 coord_val=[numel(var_component)+2 numel(var_component)+1]; 761 %coord_val=[numel(var_component)+2 numel(var_component)+1]; 762 coord_val=[1 2]; 762 763 end 763 764 set(handles.Coord_x,'Value',coord_val(1))
Note: See TracChangeset
for help on using the changeset viewer.