| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 968 人关注过本帖
标题:求高手帮忙做MATLAB GUI设计 现金重谢
只看楼主 加入收藏
zwdevil0037
Rank: 1
等 级:新手上路
帖 子:1
专家分:0
注 册:2008-5-16
收藏
 问题点数:0 回复次数:0 
求高手帮忙做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
搜索更多相关主题的帖子: gui MATLAB GUI 现金 Singleton 
2008-05-16 17:32
快速回复:求高手帮忙做MATLAB GUI设计 现金重谢
数据加载中...
 
   



关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.025539 second(s), 7 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved