ImageVerifierCode 换一换
格式:DOCX , 页数:17 ,大小:225.87KB ,
资源ID:22330821      下载积分:3 金币
快捷下载
登录下载
邮箱/手机:
温馨提示:
快捷下载时,用户名和密码都是您填写的邮箱或者手机号,方便查询和重复下载(系统自动生成)。 如填写123,账号就是123,密码也是123。
特别说明:
请自助下载,系统不会自动发送文件的哦; 如果您已付费,想二次下载,请登录后访问:我的下载记录
支付方式: 支付宝    微信支付   
验证码:   换一换

加入VIP,免费下载
 

温馨提示:由于个人手机设置不同,如果发现不能下载,请复制以下地址【https://www.bdocx.com/down/22330821.html】到电脑端继续下载(重复下载不扣费)。

已注册用户请登录:
账号:
密码:
验证码:   换一换
  忘记密码?
三方登录: 微信登录   QQ登录  

下载须知

1: 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。
2: 试题试卷类文档,如果标题没有明确说明有答案则都视为没有答案,请知晓。
3: 文件的所有权益归上传用户所有。
4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
5. 本站仅提供交流平台,并不能对任何下载内容负责。
6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

版权提示 | 免责声明

本文(matlabgui数据管理系统Word格式文档下载.docx)为本站会员(b****7)主动上传,冰豆网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。 若此文所含内容侵犯了您的版权或隐私,请立即通知冰豆网(发送邮件至service@bdocx.com或直接QQ联系客服),我们立即给予删除!

matlabgui数据管理系统Word格式文档下载.docx

1、function pushbutton1_Callback(hObject, eventdata, handles)% hObject handle to pushbutton1 (see GCBO)%shujukuguanli();setappdata(shujukuguanli(),str3、成绩查询按钮:% - Executes on button press in pushbutton2.function pushbutton2_Callback(hObject, eventdata, handles)% hObject handle to pushbutton2 (see GCBO)

2、setappdata(chengjichaxun(),5、成绩直方图按钮:% - Executes on button press in pushbutton4.function pushbutton4_Callback(hObject, eventdata, handles)% hObject handle to pushbutton4 (see GCBO)setappdata(chengjizhifangtu(),6、退出按钮:% - Executes on button press in pushbutton6.function pushbutton6_Callback(hObject,

3、 eventdata, handles)% hObject handle to pushbutton6 (see GCBO) close(cjguanli();2、子界面:数据库管理1、显示整体数据按钮:function pushbutton1_Callback(hbject, eventdata, handles)% PathName=uigetfile(%str=PathName ;%set(handles.edit1,global str1;str1=getappdata(shujukuguanli(),shuzi fuhao=xlsread(str1);hj=size(shuzi,1)

4、;handles.xingming=fuhao(2:hj+1,1);set(handles.listbox1,handles.xingming);set(handles.listbox3,num2str(shuzi(:,2:end);set(handles.listbox2,1);handles.chengji=shuzi(:end);handles.xuehao=shuzi(:,1);guidata(hObject,handles);2、设置课程学分按钮:function pushbutton2_Callback(hObject, eventdata, handles) %设置各科学分ke1

5、xuefeng=get(handles.edit3, %各科学分ke2xuefeng=get(handles.edit4, ke3xuefeng=get(handles.edit5,xuefenghe=ke1xuefeng+ke2xuefeng+ke3xuefeng;%三课学分之和ke1xuefeng1=ke1xuefeng/xuefenghe; %各科学分占比ke2xuefeng1=ke2xuefeng/xuefenghe;ke3xuefeng1=ke3xuefeng/xuefenghe;ke1chengjijiaquan=handles.chengji(:,1).*ke1xuefeng1;

6、%各科成绩乘以占比ke2chengjijiaquan=handles.chengji(:,2).*ke2xuefeng1;ke3chengjijiaquan=handles.chengji(:,3).*ke3xuefeng1;jiaquanchengji=ke1chengjijiaquan + ke2chengjijiaquan + ke2chengjijiaquan;set(handles.listbox4,num2str(jiaquanchengji);3、添加按钮:% - Executes on button press in pushbutton3.function pushbutto

7、n3_Callback(hObject, eventdata, handles) %添加函数% hObject handle to pushbutton3 (see GCBO)mima=get(handles.edit11,password=123456;k=strcmp(mima,password);if k=0 set(handles.edit11,密码输入错误请重输! returnelse name1=get(handles.edit6, xuehao1=str2num(get(handles.edit7,); kecheng11=str2num(get(handles.edit8, k

8、echeng21=str2num(get(handles.edit9, kecheng31=str2num(get(handles.edit10, handles.xingming=handles.xingming;name1; handles.xuehao=handles.xuehao;xuehao1; handles.chengji=handles.chengji; kecheng11, kecheng21,kecheng31; guidata(hObject,handles); set(handles.listbox1, set(handles.listbox2,num2str(hand

9、les.xuehao); set(handles.listbox3,num2str(handles.chengji); xlswrite(str1,handles.xingming,1,A2 xlswrite(str1,handles.xuehao,1,B2 xlswrite(str1,handles.chengji,1,C2end4、按姓名查询按钮:function pushbutton6_Cllback(hObject, eventdata, handles) %姓名查询global mm;name2=get(handles.edit6,aa=strcmp(name2,handles.xi

10、ngming);mm n=find(aa=1);xingming=handles.xingming;xuehao=handles.xuehao;chengji=handles.chengji;if mm=0无此人!请重输!set(handles.edit6,xingming(mm,: );set(handles.edit7,num2str(xuehao(mm,: );set(handles.edit8,num2str(chengji(mm,1);set(handles.edit9,num2str(chengji(mm,2);set(handles.edit10,num2str(chengji(

11、mm,3);End5、修改按钮:function pushbutton5_Callback(hObject, eventdata, handles) %修改函数name1=get(handles.edit6,xuehao1=str2num(get(handles.edit7,kecheng11=str2num(get(handles.edit8,kecheng21=str2num(get(handles.edit9,kecheng31=str2num(get(handles.edit10,xingming(mm)=name1;xuehao(mm)=xuehao1;chengji(mm,:)=k

12、echeng11,kecheng21,kecheng31;handles.xingming=xingming;handles.xuehao=xuehao;handles.chengji=chengji;xlswrite(str1,handles.xingming,1,xlswrite(str1,handles.xuehao,1,xlswrite(str1,handles.chengji,1,7、返回按钮:% - Executes on button press in pushbutton8.function pushbutton8_Callback(hObject, eventdata, ha

13、ndles)% hObject handle to pushbutton8 (see GCBO)cjguanli();close(shujukuguanli();3、子系统成绩查询:1、姓名查询按钮:name=get(handles.edit1,str1=getappdata(chengjichaxun(),end,1);lia,id=ismember(name,handles.xingming);,xingming(id,:,num2str(xuehao(id,:,num2str(chengji(id,:3、返回按钮:close(chengjichaxun();4、子系统:成绩排序1、课程1

14、排序按钮:function pushbutton1_Callback(hObject, eventdata, handles) %按课程1 降序排序global shuzi;global fuhao;str1=getappdata(chengjipaixu(),handles.zhongtishuju=shuzi;zhongtishuju1=sortrows(shuzi,-2);%排序xuehao1=zhongtishuju1(:chengji1=zhongtishuju1(:hang=size(xuehao1,1); id1,id2=ismember(handles.xuehao,xueha

15、o1); for pp=1:hang xingming1(id2(pp)=handles.xingming(pp); end xingming2=xingming1 handles.xingming22=xingming2; handles.xuehao22=xuehao1; handles.chengji22=chengji1;,xingming2);,num2str(xuehao1);,num2str(chengji1);2、课程2排序按钮:function pushbutton2_Callback(hObject, eventdata, handles)%按课程2排序%global shuzi;%global fuhao;xingming=fuhao(2:xuehao=shuzi(:zhongtishuju3=sortrows(shuzi,-3);xuehao1=zhongtishuju3(:chengji1=zhongtishuju3(: id1,id2=ismember(xuehao,xuehao1);

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

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