3 %>@brief Properties Window
for @ref
fcon_pls
5 %>@image html Screenshot-uip_fcon_pls.png
12 function varargout = uip_fcon_pls(varargin)
13 % Begin initialization code - DO NOT EDIT
15 gui_State =
struct(
'gui_Name', mfilename, ...
16 'gui_Singleton', gui_Singleton, ...
17 'gui_OpeningFcn', @uip_fcon_pls_OpeningFcn, ...
18 'gui_OutputFcn', @uip_fcon_pls_OutputFcn, ...
19 'gui_LayoutFcn', [] , ...
21 if nargin && ischar(varargin{1})
22 gui_State.gui_Callback = str2func(varargin{1});
26 [varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
28 gui_mainfcn(gui_State, varargin{:});
30 % End initialization code - DO NOT EDIT
33 % --- Executes just before uip_fcon_pls is made visible.
34 function uip_fcon_pls_OpeningFcn(hObject, eventdata, handles, varargin)
35 handles.output.flag_ok = 0;
36 guidata(hObject, handles);
40 % --- Outputs from this function are returned to the command clae.
41 function varargout = uip_fcon_pls_OutputFcn(hObject, eventdata, handles)
43 uiwait(handles.figure1);
44 handles = guidata(hObject);
45 varargout{1} = handles.output;
49 varargout{1} = output;
54 function editReg_Callback(hObject, eventdata, handles)
55 % hObject handle to editReg (see GCBO)
56 % eventdata reserved - to be defined in a future version of MATLAB
57 % handles structure with handles and user data (see GUIDATA)
59 % Hints:
get(hObject,
'String') returns contents of editReg
as text
60 % str2double(
get(hObject,
'String')) returns contents of editReg
as a
double
63 % --- Executes during
object creation, after setting all properties.
64 function editReg_CreateFcn(hObject, eventdata, handles)
65 % hObject handle to editReg (see GCBO)
66 % eventdata reserved - to be defined in a future version of MATLAB
67 % handles empty - handles not created until after all CreateFcns called
69 % Hint: edit controls usually have a white background on Windows.
70 % See ISPC and COMPUTER.
71 if ispc && isequal(
get(hObject,
'BackgroundColor'),
get(0,
'defaultUicontrolBackgroundColor'))
72 set(hObject,'BackgroundColor','white');
77 % --- Executes on button press in pushbuttonOk.
78 function pushbuttonOk_Callback(hObject, eventdata, handles)
79 % hObject handle to pushbuttonOk (see GCBO)
80 % eventdata reserved - to be defined in a future version of MATLAB
81 % handles structure with handles and user data (see GUIDATA)
83 handles.output.params = {...
84 'no_factors', int2str(eval(
get(handles.editNofactors,
'String'))) ...
86 handles.output.flag_ok = 1;
87 guidata(hObject, handles);
91 % --- Executes on selection change in popupmenuType.
92 function popupmenuType_Callback(hObject, eventdata, handles)
93 % hObject handle to popupmenuType (see GCBO)
94 % eventdata reserved - to be defined in a future version of MATLAB
95 % handles structure with handles and user data (see GUIDATA)
97 % Hints: contents =
get(hObject,
'String') returns popupmenuType contents
as cell array
98 % contents{
get(hObject,
'Value')} returns selected item from popupmenuType
101 % --- Executes during
object creation, after setting all properties.
102 function popupmenuType_CreateFcn(hObject, eventdata, handles)
103 % hObject handle to popupmenuType (see GCBO)
104 % eventdata reserved - to be defined in a future version of MATLAB
105 % handles empty - handles not created until after all CreateFcns called
107 % Hint: popupmenu controls usually have a white background on Windows.
108 % See ISPC and COMPUTER.
109 if ispc && isequal(
get(hObject,
'BackgroundColor'),
get(0,
'defaultUicontrolBackgroundColor'))
110 set(hObject,'BackgroundColor','white');
114 function editNofactors_Callback(hObject, eventdata, handles)
115 % hObject handle to editNofactors (see GCBO)
116 % eventdata reserved - to be defined in a future version of MATLAB
117 % handles structure with handles and user data (see GUIDATA)
119 % Hints: get(hObject,'String') returns contents of editNofactors
as text
120 % str2double(get(hObject,'String')) returns contents of editNofactors
as a
double
123 % --- Executes during
object creation, after setting all properties.
124 function editNofactors_CreateFcn(hObject, eventdata, handles)
125 % hObject handle to editNofactors (see GCBO)
126 % eventdata reserved - to be defined in a future version of MATLAB
127 % handles empty - handles not created until after all CreateFcns called
129 % Hint: edit controls usually have a white background on Windows.
130 % See ISPC and COMPUTER.
131 if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
132 set(hObject,'BackgroundColor','white');
136 % --- Executes on button press in checkboxFlagRotate.
137 function checkboxFlagRotate_Callback(hObject, eventdata, handles)
Property no_factors
Number of factors to feature in the transformed dataset (default: 10).
function gui_set_position(in hObject)
Partial Least Squares Transformation aka PLSDA.
Analysis Session (AS) base class.