Changeset 295 for trunk/src/read_GUI.m


Ignore:
Timestamp:
Nov 21, 2011, 5:54:40 PM (12 years ago)
Author:
sommeria
Message:

plotting functions debugged and checked after the introduction of uipanels

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/read_GUI.m

    r292 r295  
    1515                check_input=1;%default
    1616                switch object_style
     17                    case {'checkbox','pushbutton','radiobutton','togglebutton'}
     18                        input=get(hchild(ichild),'Value');
    1719                    case 'edit'
    1820                        separator=regexp(tag,'_');
     
    3638                            end
    3739                        end
    38                     case 'checkbox'
    39                         input=get(hchild(ichild),'Value');
     40
    4041                        %                         key=tag(7:end);
     42                    case{'Listbox','popupmenu'}
     43                        listinput=get(hchild(ichild),'String');
     44                        value=get(hchild(ichild),'Value');
     45                        input=listinput(value);       
    4146                    otherwise
    4247                        check_input=0;
Note: See TracChangeset for help on using the changeset viewer.