3 %>@brief Properties Window
for @ref
fsel
5 %> <b>Variables</b> - see
fsel::v
7 %> <b>Meaning of
"Variables" above (1)</b> - How to interpret the vector given in the first box. See
fsel::v_type
9 %> <b>Meaning of
"Variables" above (2)</b> - Whether to keep or to exclude the variables specified. See
fsel::flag_complement
14 function varargout = uip_fsel(varargin)
15 % Begin initialization code - DO NOT EDIT
17 gui_State =
struct(
'gui_Name', mfilename, ...
18 'gui_Singleton', gui_Singleton, ...
19 'gui_OpeningFcn', @uip_fsel_OpeningFcn, ...
20 'gui_OutputFcn', @uip_fsel_OutputFcn, ...
21 'gui_LayoutFcn', [] , ...
23 if nargin && ischar(varargin{1})
24 gui_State.gui_Callback = str2func(varargin{1});
28 [varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
30 gui_mainfcn(gui_State, varargin{:});
32 % End initialization code - DO NOT EDIT
35 % --- Executes just before uip_fsel is made visible.
36 function uip_fsel_OpeningFcn(hObject, eventdata, handles, varargin)
37 handles.output.flag_ok = 0;
38 guidata(hObject, handles);
42 % --- Outputs from this function are returned to the command clae.
43 function varargout = uip_fsel_OutputFcn(hObject, eventdata, handles)
45 uiwait(handles.figure1);
46 handles = guidata(hObject);
47 varargout{1} = handles.output;
51 varargout{1} = output;
56 function editReg_Callback(hObject, eventdata, handles)
57 % hObject handle to editReg (see GCBO)
58 % eventdata reserved - to be defined in a future version of MATLAB
59 % handles structure with handles and user data (see GUIDATA)
61 % Hints:
get(hObject,
'String') returns contents of editReg
as text
62 % str2double(
get(hObject,
'String')) returns contents of editReg
as a
double
65 % --- Executes during
object creation, after setting all properties.
66 function editReg_CreateFcn(hObject, eventdata, handles)
67 % hObject handle to editReg (see GCBO)
68 % eventdata reserved - to be defined in a future version of MATLAB
69 % handles empty - handles not created until after all CreateFcns called
71 % Hint: edit controls usually have a white background on Windows.
72 % See ISPC and COMPUTER.
73 if ispc && isequal(
get(hObject,
'BackgroundColor'),
get(0,
'defaultUicontrolBackgroundColor'))
74 set(hObject,'BackgroundColor','white');
79 % --- Executes on button press in pushbuttonOk.
80 function pushbuttonOk_Callback(hObject, eventdata, handles)
81 % hObject handle to pushbuttonOk (see GCBO)
82 % eventdata reserved - to be defined in a future version of MATLAB
83 % handles structure with handles and user data (see GUIDATA)
85 flag_complement = strcmp(get(get(handles.uipanel_flag_complement, 'SelectedObject'), 'Tag'), 'radiobutton_exclude');
86 v_type = get(get(handles.uipanel_v_type, 'SelectedObject'), 'Tag');
87 v_type = v_type(13:end); % The suffixes match the "v_type" parameter of data_select_features()
89 handles.output.params = {...
90 'v_type', [
'''' v_type ''''], ...
91 'flag_complement', int2str(flag_complement), ...
92 'v',
get(handles.editVariables,
'String') ...
94 handles.output.flag_ok = 1;
95 guidata(hObject, handles);
100 function editVariables_Callback(hObject, eventdata, handles)
101 % hObject handle to editVariables (see GCBO)
102 % eventdata reserved - to be defined in a future version of MATLAB
103 % handles structure with handles and user data (see GUIDATA)
105 % Hints:
get(hObject,
'String') returns contents of editVariables
as text
106 % str2double(
get(hObject,
'String')) returns contents of editVariables
as a
double
109 % --- Executes during
object creation, after setting all properties.
110 function editVariables_CreateFcn(hObject, eventdata, handles)
111 % hObject handle to editVariables (see GCBO)
112 % eventdata reserved - to be defined in a future version of MATLAB
113 % handles empty - handles not created until after all CreateFcns called
115 % Hint: edit controls usually have a white background on Windows.
116 % See ISPC and COMPUTER.
117 if ispc && isequal(
get(hObject,
'BackgroundColor'),
get(0,
'defaultUicontrolBackgroundColor'))
118 set(hObject,'BackgroundColor','white');
Property flag_complement
=0. See get_feaidxs.m
Feature Selection (FSel) class.
Property v_type
='i'. See get_feaidxs.m
Property v
=[]. See get_feaidxs.m
function gui_set_position(in hObject)
Analysis Session (AS) base class.