Ignore:
Timestamp:
Jun 9, 2013, 10:31:58 PM (7 years ago)
Author:
sommeria
Message:

get_field updated, several bugs corrected,open_uvmat suppressd

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/find_field_cells.m

    r582 r648  
    191191        check_index_1= strcmp(DimCell{1},Data.ListDimName);
    192192        check_index_2= strcmp(DimCell{2},Data.ListDimName);
    193         check_index_3= strcmp(DimCell{3},Data.ListDimName);
    194193        NbDim(icell)=Data.DimValue(check_index_2);
     194        if numel(DimCell)>=3
     195        check_index_3= strcmp(DimCell{3},Data.ListDimName); 
    195196        CellInfo{icell}.CoordSize=Data.DimValue(check_index_1)*Data.DimValue(check_index_3);
     197        end
    196198    end
    197199    check_select=check_select|check_cell;
Note: See TracChangeset for help on using the changeset viewer.