1、% applied to the GUI before Main_OpeningFunction gets called. An% unrecognized property name or invalid value makes property application% stop. All inputs are passed to Main_OpeningFcn via varargin.% *See GUI Options on GUIDEs Tools menu. Choose GUI allows only one% instance to run (singleton).% See
2、 also: GUIDE, GUIDATA, GUIHANDLES % Copyright 2002-2003 The MathWorks, Inc.% Edit the above text to modify the response to help Main% Last Modified by GUIDE v2.5 12-Jan-2014 09:31:12% Begin initialization code - DO NOT EDITgui_Singleton = 1;gui_State = struct(gui_Name, mfilename, . gui_Singleton, gu
3、i_Singleton, .gui_OpeningFcn, Main_OpeningFcn, .gui_OutputFcn, Main_OutputFcn, .gui_LayoutFcn, , .gui_Callback, );if nargin & ischar(varargin1) gui_State.gui_Callback = str2func(varargin1);endif nargout varargout1:nargout = gui_mainfcn(gui_State, varargin:);else gui_mainfcn(gui_State, varargin:% End
4、 initialization code - DO NOT EDIT% - Executes just before Main is made visible.function Main_OpeningFcn(hObject, eventdata, handles, varargin)% This function has no output args, see OutputFcn.% hObject handle to figure% eventdata reserved - to be defined in a future version of MATLAB% handles struc
5、ture with handles and user data (see GUIDATA)% varargin command line arguments to Main (see VARARGIN)% Choose default command line output for Mainhandles.output = hObject;% Update handles structureguidata(hObject, handles);% UIWAIT makes Main wait for user response (see UIRESUME)% uiwait(handles.fig
6、ure1);% - Outputs from this function are returned to the command line.function varargout = Main_OutputFcn(hObject, eventdata, handles) % varargout cell array for returning output args (see VARARGOUT);% Get default command line output from handles structurevarargout1 = handles.output;% - Executes on
7、button press in pushbutton_datain.function pushbutton_datain_Callback(hObject, eventdata, handles)% hObject handle to pushbutton_datain (see GCBO)close(gcf);run(untitled);% - Executes on button press in pushbutton_find.function pushbutton_find_Callback(hObject, eventdata, handles)% hObject handle to
8、 pushbutton_find (see GCBO)chaxuntongji% - Executes on button press in pushbutton_change.function pushbutton_change_Callback(hObject, eventdata, handles)% hObject handle to pushbutton_change (see GCBO)change% - Executes on button press in pushbutton_delete.function pushbutton_delete_Callback(hObject
9、, eventdata, handles)% hObject handle to pushbutton_delete (see GCBO)shanchu% - Executes during object creation, after setting all properties.function figure1_CreateFcn(hObject, eventdata, handles)% hObject handle to figure1 (see GCBO)% handles empty - handles not created until after all CreateFcns
10、calledMain=axes(unitsnormalizedposition,0 0 1 1);uistack(Main,down)II=imread(pic4.bmpimage(II)colormap grayset(Main,handlevisibilityoffvisible% -%function _Callback(hObject, eventdata, handles)% hObject handle to (see GCBO)%function _Callback(hObject, eventdata, handles)% hObject handle to (see GCBO
11、)% - Executes during object deletion, before destroying properties.function figure1_DeleteFcn(hObject, eventdata, handles)function message_Callback(hObject, eventdata, handles)% hObject handle to close (see GCBO)button=msgbox(GUI学生成绩管理系统 ;组长:邱晴组员:袁媛 黄新星 张婷雯 于洋 王佳浩,关于function close_Callback(hObject,
12、eventdata, handles)button=questdlg(是否确认关闭关闭确认是否if strcmp(button, close; return;% - Executes on button press in pushbutton_datain1.function pushbutton_datain1_Callback(hObject, eventdata, handles)% hObject handle to pushbutton_datain1 (see GCBO)成绩查询统计源码:function varargout = chaxuntongji(varargin)% CH
13、AXUNTONGJI M-file for chaxuntongji.fig% CHAXUNTONGJI, by itself, creates a new CHAXUNTONGJI or raises the existing% H = CHAXUNTONGJI returns the handle to a new CHAXUNTONGJI or the handle to% CHAXUNTONGJI(% function named CALLBACK in CHAXUNTONGJI.M with the given input arguments.,.) creates a new CH
14、AXUNTONGJI or raises the% applied to the GUI before chaxuntongji_OpeningFunction gets called. An% stop. All inputs are passed to chaxuntongji_OpeningFcn via varargin.% Edit the above text to modify the response to help chaxuntongji% Last Modified by GUIDE v2.5 11-Jan-2014 14:57:27, chaxuntongji_Open
15、ingFcn, ., chaxuntongji_OutputFcn, .% - Executes just before chaxuntongji is made visible.function chaxuntongji_OpeningFcn(hObject, eventdata, handles, varargin)% varargin command line arguments to chaxuntongji (see VARARGIN)% Choose default command line output for chaxuntongji%filename pathname=uig
16、etfile(*.xls%fin=pathname filename;%xlsread(pathname filename);%xlsread(students.xlssheet1% UIWAIT makes chaxuntongji wait for user response (see UIRESUME)function varargout = chaxuntongji_OutputFcn(hObject, eventdata, handles) %varargout1 = handles.output;function edit1_Callback(hObject, eventdata, handles)% hObject handle to edit1 (see GCBO)% Hints: get(hObje
copyright@ 2008-2022 冰豆网网站版权所有
经营许可证编号:鄂ICP备2022015515号-1