5 %>@image html Screenshot-uip_fcon_spline.png
14 function varargout = uip_fcon_spline(varargin)
15 % Begin initialization code - DO NOT EDIT
17 gui_State =
struct(
'gui_Name', mfilename, ...
18 'gui_Singleton', gui_Singleton, ...
19 'gui_OpeningFcn', @uip_fcon_spline_OpeningFcn, ...
20 'gui_OutputFcn', @uip_fcon_spline_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_fcon_spline is made visible.
36 function uip_fcon_spline_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_fcon_spline_OutputFcn(hObject, eventdata, handles)
45 uiwait(handles.figure1);
46 handles = guidata(hObject);
47 varargout{1} = handles.output;
51 varargout{1} = output;
56 % --- Executes on button press in pushbuttonOk.
57 function pushbuttonOk_Callback(hObject, eventdata, handles) %#ok<*INUSL,*DEFNU>
58 % hObject handle to pushbuttonOk (see GCBO)
59 % eventdata reserved - to be defined in a future version of MATLAB
60 % handles structure with handles and user data (see GUIDATA)
62 handles.output.params = {...
63 'no_basis', int2str(eval(
get(handles.edit_no_basis,
'String'))), ...
64 'order', int2str(eval(
get(handles.edit_order,
'String'))) ...
66 handles.output.flag_ok = 1;
67 guidata(hObject, handles);
72 function edit_no_basis_Callback(hObject, eventdata, handles) %#ok<*INUSD>
73 function edit_no_basis_CreateFcn(hObject, eventdata, handles)
74 if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
75 set(hObject,'BackgroundColor','white');
77 function edit_order_Callback(hObject, eventdata, handles)
78 function edit_order_CreateFcn(hObject, eventdata, handles)
79 if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
80 set(hObject,'BackgroundColor','white');
Property order
Splines order (default: 6) (see reference).
Property no_basis
Number of basis functions transformed dataset (default: 30).
function gui_set_position(in hObject)