matlabGUI学生成绩管理系统源码Word下载.docx

上传人:b****5 文档编号:16882652 上传时间:2022-11-26 格式:DOCX 页数:74 大小:26.62KB
下载 相关 举报
matlabGUI学生成绩管理系统源码Word下载.docx_第1页
第1页 / 共74页
matlabGUI学生成绩管理系统源码Word下载.docx_第2页
第2页 / 共74页
matlabGUI学生成绩管理系统源码Word下载.docx_第3页
第3页 / 共74页
matlabGUI学生成绩管理系统源码Word下载.docx_第4页
第4页 / 共74页
matlabGUI学生成绩管理系统源码Word下载.docx_第5页
第5页 / 共74页
点击查看更多>>
下载资源
资源描述

matlabGUI学生成绩管理系统源码Word下载.docx

《matlabGUI学生成绩管理系统源码Word下载.docx》由会员分享,可在线阅读,更多相关《matlabGUI学生成绩管理系统源码Word下载.docx(74页珍藏版)》请在冰豆网上搜索。

matlabGUI学生成绩管理系统源码Word下载.docx

%appliedtotheGUIbeforeMain_OpeningFunctiongetscalled.An

%unrecognizedpropertynameorinvalidvaluemakespropertyapplication

%stop.AllinputsarepassedtoMain_OpeningFcnviavarargin.

%*SeeGUIOptionsonGUIDE'

sToolsmenu.Choose"

GUIallowsonlyone

%instancetorun(singleton)"

.

%Seealso:

GUIDE,GUIDATA,GUIHANDLES

%Copyright2002-2003TheMathWorks,Inc.

%EdittheabovetexttomodifytheresponsetohelpMain

%LastModifiedbyGUIDEv2.512-Jan-201409:

31:

12

%Begininitializationcode-DONOTEDIT

gui_Singleton=1;

gui_State=struct('

gui_Name'

mfilename,...

'

gui_Singleton'

gui_Singleton,...

gui_OpeningFcn'

@Main_OpeningFcn,...

gui_OutputFcn'

@Main_OutputFcn,...

gui_LayoutFcn'

[],...

gui_Callback'

[]);

ifnargin&

&

ischar(varargin{1})

gui_State.gui_Callback=str2func(varargin{1});

end

ifnargout

[varargout{1:

nargout}]=gui_mainfcn(gui_State,varargin{:

});

else

gui_mainfcn(gui_State,varargin{:

%Endinitializationcode-DONOTEDIT

%---ExecutesjustbeforeMainismadevisible.

functionMain_OpeningFcn(hObject,eventdata,handles,varargin)

%Thisfunctionhasnooutputargs,seeOutputFcn.

%hObjecthandletofigure

%eventdatareserved-tobedefinedinafutureversionofMATLAB

%handlesstructurewithhandlesanduserdata(seeGUIDATA)

%varargincommandlineargumentstoMain(seeVARARGIN)

%ChoosedefaultcommandlineoutputforMain

handles.output=hObject;

%Updatehandlesstructure

guidata(hObject,handles);

%UIWAITmakesMainwaitforuserresponse(seeUIRESUME)

%uiwait(handles.figure1);

%---Outputsfromthisfunctionarereturnedtothecommandline.

functionvarargout=Main_OutputFcn(hObject,eventdata,handles)

%varargoutcellarrayforreturningoutputargs(seeVARARGOUT);

%Getdefaultcommandlineoutputfromhandlesstructure

varargout{1}=handles.output;

%---Executesonbuttonpressinpushbutton_datain.

functionpushbutton_datain_Callback(hObject,eventdata,handles)

%hObjecthandletopushbutton_datain(seeGCBO)

close(gcf);

run('

untitled'

);

%---Executesonbuttonpressinpushbutton_find.

functionpushbutton_find_Callback(hObject,eventdata,handles)

%hObjecthandletopushbutton_find(seeGCBO)

chaxuntongji'

%---Executesonbuttonpressinpushbutton_change.

functionpushbutton_change_Callback(hObject,eventdata,handles)

%hObjecthandletopushbutton_change(seeGCBO)

change'

%---Executesonbuttonpressinpushbutton_delete.

functionpushbutton_delete_Callback(hObject,eventdata,handles)

%hObjecthandletopushbutton_delete(seeGCBO)

shanchu'

%---Executesduringobjectcreation,aftersettingallproperties.

functionfigure1_CreateFcn(hObject,eventdata,handles)

%hObjecthandletofigure1(seeGCBO)

%handlesempty-handlesnotcreateduntilafterallCreateFcnscalled

Main=axes('

units'

normalized'

position'

[0011]);

uistack(Main,'

down'

II=imread('

pic4.bmp'

image(II)

colormapgray

set(Main,'

handlevisibility'

off'

visible'

%--------------------------------------------------------------------

%%function_Callback(hObject,eventdata,handles)

%hObjecthandleto(seeGCBO)

%%function_Callback(hObject,eventdata,handles)

%hObjecthandleto(seeGCBO)

%---Executesduringobjectdeletion,beforedestroyingproperties.

functionfigure1_DeleteFcn(hObject,eventdata,handles)

functionmessage_Callback(hObject,eventdata,handles)

%hObjecthandletoclose(seeGCBO)

button=msgbox({'

GUI学生成绩管理系统'

;

'

组长:

邱晴'

组员:

袁媛黄新星张婷雯于洋王佳浩'

},'

关于'

functionclose_Callback(hObject,eventdata,handles)

button=questdlg('

是否确认关闭'

关闭确认'

是'

否'

ifstrcmp(button,'

close;

return;

%---Executesonbuttonpressinpushbutton_datain1.

functionpushbutton_datain1_Callback(hObject,eventdata,handles)

%hObjecthandletopushbutton_datain1(seeGCBO)

成绩查询统计源码:

functionvarargout=chaxuntongji(varargin)

%CHAXUNTONGJIM-fileforchaxuntongji.fig

%CHAXUNTONGJI,byitself,createsanewCHAXUNTONGJIorraisestheexisting

%H=CHAXUNTONGJIreturnsthehandletoanewCHAXUNTONGJIorthehandleto

%CHAXUNTONGJI('

%functionnamedCALLBACKinCHAXUNTONGJI.Mwiththegiveninputarguments.

...)createsanewCHAXUNTONGJIorraisesthe

%appliedtotheGUIbeforechaxuntongji_OpeningFunctiongetscalled.An

%stop.Allinputsarepassedtochaxuntongji_OpeningFcnviavarargin.

%Edittheabovetexttomodifytheresponsetohelpchaxuntongji

%LastModifiedbyGUIDEv2.511-Jan-201414:

57:

27

@chaxuntongji_OpeningFcn,...

@chaxuntongji_OutputFcn,...

%---Executesjustbeforechaxuntongjiismadevisible.

functionchaxuntongji_OpeningFcn(hObject,eventdata,handles,varargin)

%varargincommandlineargumentstochaxuntongji(seeVARARGIN)

%Choosedefaultcommandlineoutputforchaxuntongji

%%[filenamepathname]=uigetfile({'

*.xls'

¨

'

%fin=[pathnamefilename];

%%xlsread([pathnamefilename]);

%xlsread('

students.xls'

sheet1'

%UIWAITmakeschaxuntongjiwaitforuserresponse(seeUIRESUME)

functionvarargout=chaxuntongji_OutputFcn(hObject,eventdata,handles)

%%varargout{1}=handles.output;

functionedit1_Callback(hObject,eventdata,handles)

%hObjecthandletoedit1(seeGCBO)

%Hints:

get(hObje

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > 医药卫生 > 药学

copyright@ 2008-2022 冰豆网网站版权所有

经营许可证编号:鄂ICP备2022015515号-1