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 执行 virtuoso 命令后,界面没有,cadence 启动不起来
    • ¥50 comfyui下连接animatediff节点生成视频质量非常差的原因
    • ¥20 有关区间dp的问题求解
    • ¥15 多电路系统共用电源的串扰问题
    • ¥15 slam rangenet++配置
    • ¥15 有没有研究水声通信方面的帮我改俩matlab代码
    • ¥15 ubuntu子系统密码忘记
    • ¥15 保护模式-系统加载-段寄存器
    • ¥15 电脑桌面设定一个区域禁止鼠标操作
    • ¥15 求NPF226060磁芯的详细资料