Changeset 591 for trunk/src/read_GUI.m


Ignore:
Timestamp:
Mar 25, 2013, 5:43:18 PM (8 years ago)
Author:
sommeria
Message:

various updates, in particular modification of series to do calculations in the cluster

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/read_GUI.m

    r517 r591  
    8888    end
    8989end
     90% read UserData if relevant
     91UserData=get(handle,'UserData');
     92if isstruct(UserData)
     93    List=fields(UserData);
     94    for ilist=1:numel(List)
     95        if isstruct(UserData.(List{ilist}))
     96            heditbox=findobj(handle,'Tag',List{ilist},'Style','edit','Visible','on');
     97            if isequal(numel(heditbox),1)
     98                struct.(List{ilist})=UserData.(List{ilist});
     99            end
     100        end
     101    end
     102end
Note: See TracChangeset for help on using the changeset viewer.