当前位置 : 主页 > 编程语言 > python >

Matlab实现贫困生评测系统

来源:互联网 收集:自由互联 发布时间:2022-06-18
1 简介 以聊城大学自主设计开发的普通高校贫困生管理信息系统为背景,重点介绍了系统各模块的功能和实现,在信息查询,数据维护及统计等方面体现了自身特色,实现了贫困生信息管理的

1 简介

以聊城大学自主设计开发的普通高校贫困生管理信息系统为背景,重点介绍了系统各模块的功能和实现,在信息查询,数据维护及统计等方面体现了自身特色,实现了贫困生信息管理的信息化,规范化,科学化.

2 部分代码

function varargout = HelpNeeding(varargin)
% HELPNEEDING M-file for HelpNeeding.fig
% HELPNEEDING, by itself, creates a new HELPNEEDING or raises the existing
% singleton*.
%
% H = HELPNEEDING returns the handle to a new HELPNEEDING or the handle to
% the existing singleton*.
%
% HELPNEEDING('CALLBACK',hObject,eventData,handles,...) calls the local
% function named CALLBACK in HELPNEEDING.M with the given input arguments.
%
% HELPNEEDING('Property','Value',...) creates a new HELPNEEDING or raises the
% existing singleton*. Starting from the left, property value pairs are
% applied to the GUI before HelpNeeding_OpeningFcn gets called. An
% unrecognized property name or invalid value makes property application
% stop. All inputs are passed to HelpNeeding_OpeningFcn via varargin.
%
% *See GUI Options on GUIDE's Tools menu. Choose "GUI allows only one
% instance to run (singleton)".
%
% See also: GUIDE, GUIDATA, GUIHANDLES
% Edit the above text to modify the response to help HelpNeeding
% Last Modified by GUIDE v2.5 25-Apr-2015 21:08:29
% Begin initialization code - DO NOT EDIT
gui_Singleton = 1;
gui_State = struct('gui_Name', mfilename, ...
'gui_Singleton', gui_Singleton, ...
'gui_OpeningFcn', @HelpNeeding_OpeningFcn, ...
'gui_OutputFcn', @HelpNeeding_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
% End initialization code - DO NOT EDIT
% --- Executes just before HelpNeeding is made visible.
function HelpNeeding_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 structure with handles and user data (see GUIDATA)
% varargin command line arguments to HelpNeeding (see VARARGIN)
% Choose default command line output for HelpNeeding
handles.output = hObject;
% Update handles structure
guidata(hObject, handles);
% UIWAIT makes HelpNeeding wait for user response (see UIRESUME)
% uiwait(handles.figure1);
% --- Outputs from this function are returned to the command line.
function varargout = HelpNeeding_OutputFcn(hObject, eventdata, handles)
% varargout cell array for returning output args (see VARARGOUT);
% hObject handle to figure
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
% Get default command line output from handles structure
varargout{1} = handles.output;
function num_Callback(hObject, eventdata, handles)
% hObject handle to num (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
% Hints: get(hObject,'String') returns contents of num as text
% str2double(get(hObject,'String')) returns contents of num as a double
% --- Executes during object creation, after setting all properties.
function num_CreateFcn(hObject, eventdata, handles)
% hObject handle to num (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles empty - handles not created until after all CreateFcns called
% Hint: edit controls usually have a white background on Windows.
% See ISPC and COMPUTER.
if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
set(hObject,'BackgroundColor','white');
end
function pass_Callback(hObject, eventdata, handles)
% hObject handle to pass (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
% Hints: get(hObject,'String') returns contents of pass as text
% str2double(get(hObject,'String')) returns contents of pass as a double
% --- Executes during object creation, after setting all properties.
function pass_CreateFcn(hObject, eventdata, handles)
% hObject handle to pass (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles empty - handles not created until after all CreateFcns called
% Hint: edit controls usually have a white background on Windows.
% See ISPC and COMPUTER.
if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
set(hObject,'BackgroundColor','white');
end
% --- Executes on button press in login.
function login_Callback(hObject, eventdata, handles)
% hObject handle to login (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
%handles = guidata(hObject);
number={'123','456','789'};
password={'123abc','456abc','789abc'};
num1=get(handles.num,'String');
pass1=get(handles.pass,'String');
flag=0;
for i=1:1:3
if(strcmp(number(i),num1)&&strcmp(password(i),pass1));
flag=1;
HelpNeeding_inpute;
close HelpNeeding;
break;
% else msgBox('用户名或密码错误');
end
end
if (flag==0)
msgBox('工号或密码错误');
end
% --- Executes on button press in quit.
function quit_Callback(hObject, eventdata, handles)
% hObject handle to quit (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
close all;

3 仿真结果

Matlab实现贫困生评测系统_ico

4 参考文献

[1]杨庆实,解方文,陈新令. 高校贫困生管理信息系统的开发及实现[J]. 网络财富, 2008(9):2.

博主简介:擅长智能优化算法、神经网络预测、信号处理、元胞自动机、图像处理、路径规划、无人机等多种领域的Matlab仿真,相关matlab代码问题可私信交流。

部分理论引用网络文献,若有侵权联系博主删除。


Matlab实现贫困生评测系统_ide_02



上一篇:Django模版与vue.js渲染冲突问题
下一篇:没有了
网友评论