zhulaoba 2016-03-28 07:55
浏览 2554

matlab如下的代码,开始界面要求输入用户名,请问应该输入的用户名是什么呢?

clc
clf reset
paranum=2;
defolder='D:\xlj\';
defcolor=[0,0,0];
mch='pbfgj';
no=[0,1,2,3,4];
h_fig=figure(1);
set(h_fig,'Menubar','none','name','affection analyse system',...
'Numbertitle','off',...
'color',[0.9023 0.9074 0.8055]);
str1='当前用户名:';
h_text=uicontrol(h_fig,'style','text','unit','normalized',...
'position',[0.0,0.0,1,1]);

h_text1=uicontrol(h_fig,'style','text','unit','normalized',...
'position',[0.1,0.9,0.25,0.05],'horizontal','left',...
'string','请输入用户名:','ForegroundColor',defcolor);
h_edit1=uicontrol(h_fig,'style','edit','unit','normalized',...
'position',[0.1,0.80,0.25,0.05],'horizontal','left',...
'ForegroundColor',defcolor,'callback','callback1');

h_text3=uicontrol(h_fig,'style','text','unit','normalized',...
'position',[0.5,0.8,0.25,0.05],'horizontal','left',...
'ForegroundColor',defcolor);

h_text4=uicontrol(h_fig,'style','text','unit','normalized',...
'position',[0.5,0.7,0.25,0.05],'horizontal','left',...
'ForegroundColor',defcolor);

h_text5=uicontrol(h_fig,'style','text','unit','normalized',...
'position',[0.5,0.6,0.25,0.05],'horizontal','left',...
'ForegroundColor',defcolor);

h_text6=uicontrol(h_fig,'style','text','unit','normalized',...
'position',[0.5,0.5,0.25,0.05],'horizontal','left',...
'ForegroundColor',defcolor);

h_text7=uicontrol(h_fig,'style','text','unit','normalized',...
'position',[0.5,0.4,0.25,0.05],'horizontal','left',...
'ForegroundColor',defcolor);

h_text8=uicontrol(h_fig,'style','text','unit','normalized',...
'position',[0.5,0.3,0.25,0.05],'horizontal','left',...
'ForegroundColor',defcolor);

h_text9=uicontrol(h_fig,'style','text','unit','normalized',...
'position',[0.5,0.2,0.25,0.05],'horizontal','left',...
'ForegroundColor',defcolor);

h_push2=uicontrol(h_fig,'style','push','unit','normalized',...
'position',[0.8,0.2,0.18,0.05],'horizontal','left',...
'string','退出','ForegroundColor',defcolor,'callback','close(figure(1))');

  • 写回答

0条回答 默认 最新

    报告相同问题?

    悬赏问题

    • ¥15 逻辑谓词和消解原理的运用
    • ¥15 请求分析基于spring boot+vue的前后端分离的项目
    • ¥15 三菱伺服电机按启动按钮有使能但不动作
    • ¥15 js,页面2返回页面1时定位进入的设备
    • ¥200 关于#c++#的问题,请各位专家解答!网站的邀请码
    • ¥50 导入文件到网吧的电脑并且在重启之后不会被恢复
    • ¥15 (希望可以解决问题)ma和mb文件无法正常打开,打开后是空白,但是有正常内存占用,但可以在打开Maya应用程序后打开场景ma和mb格式。
    • ¥20 ML307A在使用AT命令连接EMQX平台的MQTT时被拒绝
    • ¥20 腾讯企业邮箱邮件可以恢复么
    • ¥15 有人知道怎么将自己的迁移策略布到edgecloudsim上使用吗?