else
gui_mainfcn(gui_State, varargin{:});
end
end
function Finalsolution12_OpeningFcn(hObject, eventdata, handles,
varargin)
handles.output = hObject;
guidata(hObject, handles);
end
function varargout = Finalsolution12_OutputFcn(hObject, eventdata,
handles)
varargout{1} = handles.output;
end
function edit1_Callback(hObject, eventdata, handles)
Kp=get(hObject,'string');
assignin('base','edit1',str2double(get(hObject,'string')));
end
function edit1_CreateFcn(hObject, eventdata, handles)
if ispc && isequal(get(hObject,'BackgroundColor'),
get(0,'defaultUicontrolBackgroundColor'))
set(hObject,'BackgroundColor','white');
end
end
function edit2_Callback(hObject, eventdata, handles)
Ki=get(hObject,'string');
assignin('base','edit2',str2double(get(hObject,'string')));
end
function edit2_CreateFcn(hObject, eventdata, handles)
if ispc && isequal(get(hObject,'BackgroundColor'),
get(0,'defaultUicontrolBackgroundColor'))
set(hObject,'BackgroundColor','white');
end
end