Changeset 497 for trunk/src/read_GUI.m


Ignore:
Timestamp:
Jul 21, 2012, 11:15:52 PM (12 years ago)
Author:
sommeria
Message:

cleaning and small bug repair.
pb of histogram for filter data solved
display of uicontrol by right mouse selection improved

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/read_GUI.m

    r427 r497  
    1 % -----------------------------------------------------------------------
    2 % --- read a GUI with handle 'handle' producing a structure 'struct'
     1% 'read_GUI':read a GUI and provide the data as a Matlab structure
     2%----------------------------------------------------------------------
     3% function struct=read_GUI(handle)
    34%
    4 % The output Matlab structure 'struct' contains the information displayed on
    5 % the GUI or a panel with handle 'handle'
     5% OUTPUT:
     6% struct: matlab structure containing the information displayed in the GUI
    67% The content of a panel with tag 'tag' is displayed as a substructure struct.(tag) (recursive use of read_GUI)
    7 % Output of an element with tag 'tag':
    8 %     'checkbox','radiobutton','togglebutton': struct.(tag)=value
    9 %     'edit': struct.(tag)=string, 
     8% Output of a GUI element with tag 'tag':
     9%     -case 'checkbox','radiobutton','togglebutton': struct.(tag)=value
     10%     -case'edit': struct.(tag)=string, 
    1011%         or, if the tag is in the form by 'num_tag',
    1112%         struct.(tag)=str2double(string). If the result is empty the  'UserData' is taken as the default input.
    12 %     'listbox','popupmenu': struct.(tag)=selected string, or, if the tag is in the form by 'num_tag', struct.(tag)=str2double(string)
    13 %     'table': struct.(tag)=data of the table
     13%     -case 'listbox','popupmenu': struct.(tag)=selected string, or, if the tag is in the form by 'num_tag', struct.(tag)=str2double(string)
     14%     -case 'table': struct.(tag)=data of the table
    1415%
    1516function struct=read_GUI(handle)
Note: See TracChangeset for help on using the changeset viewer.