📄 entertf.m
字号:
%传递函数输入模块
loop=0;
getmodel2=figure('color',[1,1,1],'position',[0.2*winw,0.35*winh,0.6*winw,0.3*winh],...
'name','单位负反馈系统开环传递函数输入窗','numbertitle','off','menubar','none',...
'resize','off','clipping','off');
color=[0.8;0.8;0.8];
uicontrol('style','frame','position',[0,0,1,1],...
'units','normalized','backgroundcolor',color);
pos=[0.05,0.7,0.25,0.1];
showtext(pos,color,'分子多项式NUM:');
editnum=uicontrol(getmodel2,'style','edit','pos',[0.3,0.71,0.63,0.1],...
'string','[ ]','back',[1,1,1],'units','normalized');
pos(2)=0.5;
showtext(pos,color,'分母多项式DEN:');
editden=uicontrol(getmodel2,'style','edit','pos',[0.3,0.51,0.63,0.1],...
'string','[ ]','back',[1,1,1],'units','normalized');
uicontrol(getmodel2,'style','push','string','Ok',...
'position',[0.23,0.2,0.23,0.16],'units','normalized',...
'callback','test=0;real2;close(getmodel2);set(mmodel,''enable'',''on'');set(manalysis,''enable'',''on'');set(msave,''enable'',''on'');set(mdesign,''enable'',''on'');');
uicontrol(getmodel2,'style','push','string','Cancel',...
'position',[0.55,0.2,0.23,0.16],'units','normalized',...
'callback','close(getmodel2)');
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -