Changeset 18336


Ignore:
Timestamp:
08/06/14 10:03:24 (11 years ago)
Author:
Mathieu Morlighem
Message:

BUG: fixed issue when struct is of size >1

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/m/plot/processdata.m

    r18253 r18336  
    2525        end
    2626        choice=input(['please enter the field number? (between 1 and ' num2str(numel(F)) ')  ']);
    27         [data datatype]=processdata(md,data.(F{choice}),options);
     27        [data datatype]=processdata(md,data(1).(F{choice}),options);
    2828end
    2929
Note: See TracChangeset for help on using the changeset viewer.