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 matlab有关常微分方程的问题求解决
    • ¥15 perl MISA分析p3_in脚本出错
    • ¥15 k8s部署jupyterlab,jupyterlab保存不了文件
    • ¥15 ubuntu虚拟机打包apk错误
    • ¥199 rust编程架构设计的方案 有偿
    • ¥15 回答4f系统的像差计算
    • ¥15 java如何提取出pdf里的文字?
    • ¥100 求三轴之间相互配合画圆以及直线的算法
    • ¥100 c语言,请帮蒟蒻写一个题的范例作参考
    • ¥15 名为“Product”的列已属于此 DataTable