求高手帮忙做MATLAB GUI设计 现金重谢
设计一个考试报名系统,采集必要考试信息,要求至少包括文字、图象、数字类信息。我已完成部分内容,程序代码如下:function varargout = ww(varargin)
gui_Singleton = 1;
gui_State = struct('gui_Name', mfilename, ...
'gui_Singleton', gui_Singleton, ...
'gui_OpeningFcn', @ww_OpeningFcn, ...
'gui_OutputFcn', @ww_OutputFcn, ...
'gui_LayoutFcn', [] , ...
'gui_Callback', []);
if nargin && ischar(varargin{1})
gui_State.gui_Callback = str2func(varargin{1});
end
if nargout
[varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
else
gui_mainfcn(gui_State, varargin{:});
end
global stu
function ww_OpeningFcn(hObject, eventdata, handles, varargin)
handles.output = hObject;
guidata(hObject, handles);
function varargout = ww_OutputFcn(hObject, eventdata, handles)
varargout{1} = handles.output;
function edit_name_Callback(hObject, eventdata, handles)
stu.name=get(handles.edit_name,'String');
text(0.5,0.8,stu.name)
function edit_name_CreateFcn(hObject, eventdata, handles)
if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
set(hObject,'BackgroundColor','white');
end
function edit_no_Callback(hObject, eventdata, handles)
stu.no=get(handles.edit_no,'String');
text(0.5,0.4,stu.no)
function edit_no_CreateFcn(hObject, eventdata, handles)
if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
set(hObject,'BackgroundColor','white');
end
function edit_class_Callback(hObject, eventdata, handles)
stu.class=get(handles.edit_class,'String');
text(0.5,0.2,stu.class)
function edit_class_CreateFcn(hObject, eventdata, handles)
if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
set(hObject,'BackgroundColor','white');
end
function pushbutton_ok2_Callback(hObject, eventdata, handles)
function pushbutton_pass_Callback(hObject, eventdata, handles)
function pushbutton_print_Callback(hObject, eventdata, handles)
function pushbutton_ok1_Callback(hObject, eventdata, handles)
cla
关键部分function pushbutton_pass_Callback(hObject, eventdata, handles)上传照片功能实现和function pushbutton_ok2_Callback(hObject, eventdata, handles)保存数据功能实现以及function pushbutton_print_Callback(hObject, eventdata, handles)打印功能实现还没有完成,望各位大大帮帮忙,必将重谢,QQ:360358356,手机号:15921543334