⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 edit_process.m

📁 Software for design and tuninig of SISO and MIMO contol systems
💻 M
字号:
f=crfig(50,50,660,420,['Process ',num2str(p_index),' : (' num2str(row) ',' num2str(col) ')'],...
   'w','none','off');
set(f,'UserData',{[row col p_index],current_obj});
uicontrol(f,...
 'Style','text',...
 'Position',[20 350 260 18],...
 'Backgroundcolor','w',...
 'Foregroundcolor','k',...
 'HorizontalAlignment','Left',...
 'String','Process (edit) =   ------------------------------------------------------');
uicontrol(f,...
 'Style','text',...
 'Position',[370 350 200 18],...
 'Backgroundcolor','w',...
 'Foregroundcolor','k',...
 'HorizontalAlignment','Left',...
 'String','+     --------------------------------------------------------');
uicontrol(f,...
 'Style','frame',...
 'Position',[390 370 170 24],...
 'Backgroundcolor','w',...
 'Foregroundcolor','k');
uicontrol(f,...
  'Style','edit',...
  'Position',[395 373 160 18],...
  'Backgroundcolor','w',...
  'UserData',[14],...
  'Foregroundcolor','k',...
  'String',Xpnums{row,col,2,p_index},...
  'Callback',['TF_index=2;cbackM']);
uicontrol(f,...
 'Style','frame',...
 'Position',[390 325 170 24],...
 'Backgroundcolor','w',...
 'Foregroundcolor','k');
uicontrol(f,...
  'Style','edit',...
  'Position',[395 328 160 18],...
  'Backgroundcolor','w',...
  'UserData',[12],...
  'Foregroundcolor','k',...
  'String',Xpdens{row,col,2,p_index},...
  'Callback',['TF_index=2;cbackM']);  
uicontrol(f,...
 'Style','frame',...
 'Position',[570 348 80 24],...
 'Backgroundcolor','w',...
 'Foregroundcolor','k');
uicontrol(f,...
  'Style','edit',...
  'Position',[575 351 70 18],...
  'Backgroundcolor','w',...
  'UserData',[10],...
  'Foregroundcolor','k',...
  'String',Xpdeads{row,col,2,p_index},...
  'Callback',['TF_index=2;cbackM']);
uicontrol(f,...
 'Style','text',...
 'Position',[17 260 260 18],...
 'Backgroundcolor','w',...
 'Foregroundcolor','k',...
 'HorizontalAlignment','Left',...
 'String','Process (result) = ---------------------------------------------------');
uicontrol(f,...
 'Style','text',...
 'Position',[20 145 120 25],...
 'Backgroundcolor','w',...
 'Foregroundcolor','k',...
 'HorizontalAlignment','Left',...
 'String','Current Process String :');
uicontrol(f,'Style','edit',...
 'Position',[140 150 500 25],...
 'Backgroundcolor','w',...
 'Foregroundcolor','k',...
 'String',p{row,col,p_index});
uicontrol(f,...
  'Style','edit',...
  'Position',[395 283 160 18],...
  'Backgroundcolor','w',...
  'Foregroundcolor','k',...
  'String',Xpnum{row,col,2,p_index});
uicontrol(f,...
  'Style','edit',...
  'Position',[395 238 160 18],...
  'Backgroundcolor','w',...
  'Foregroundcolor','k',...
  'String',Xpden{row,col,2,p_index});  
uicontrol(f,...
  'Style','edit',...
  'Position',[575 261 70 18],...
  'Backgroundcolor','w',...
  'Foregroundcolor','k',...
  'String',Xpdead{row,col,2,p_index});
uicontrol(f,...
 'Style','text',...
 'Position',[230 125 260 18],...
 'Backgroundcolor','w',...
 'Foregroundcolor','k',...
 'HorizontalAlignment','Center',...
 'String',['Only x [  ' num2str(uindex{row,col,p_index}) '  ] required']);
uicontrol(f,...
  'Style','edit',...
  'Position',[105 283 160 18],...
  'Backgroundcolor','w',...
  'Foregroundcolor','k',...
  'String',Xpnum{row,col,1,p_index});
uicontrol(f,...
  'Style','edit',...
  'Position',[105 238 160 18],...
  'Backgroundcolor','w',...
  'Foregroundcolor','k',...
  'String',Xpden{row,col,1,p_index});  
uicontrol(f,...
  'Style','edit',...
  'Position',[285 261 70 18],...
  'Backgroundcolor','w',...
  'Foregroundcolor','k',...
  'String',Xpdead{row,col,1,p_index});
uicontrol(f,...
 'Style','frame',...
 'Position',[100 370 170 24],...
 'Backgroundcolor','w',...
 'Foregroundcolor','k');
uicontrol(f,...
  'Style','edit',...
  'Position',[105 373 160 18],...
  'Backgroundcolor','w',...
  'Foregroundcolor','k',...
  'UserData',[14],...
  'String',Xpnums{row,col,1,p_index},...
  'Callback',['TF_index=1;cbackM']);
uicontrol(f,...
 'Style','frame',...
 'Position',[100 325 170 24],...
 'Backgroundcolor','w',...
 'Foregroundcolor','k');
uicontrol(f,...
  'Style','edit',...
  'Position',[105 328 160 18],...
  'Backgroundcolor','w',...
  'Foregroundcolor','k',...
  'UserData',[12],...
  'String',Xpdens{row,col,1,p_index},...
  'Callback',['TF_index=1;cbackM']);  
uicontrol(f,...
 'Style','frame',...
 'Position',[280 348 80 24],...
 'Backgroundcolor','w',...
 'Foregroundcolor','k');
uicontrol(f,...
  'Style','edit',...
  'Position',[285 351 70 18],...
  'Backgroundcolor','w',...
  'Foregroundcolor','k',...
  'UserData',[10],...
  'String',Xpdeads{row,col,1,p_index},...
  'Callback',['TF_index=1;cbackM']);
uicontrol(f,...
 'Style','text',...
 'Position',[370 260 200 18],...
 'Backgroundcolor','w',...
 'Foregroundcolor','k',...
 'HorizontalAlignment','Left',...
 'String','+     --------------------------------------------------------');
uicontrol(f,...
  'Style','push',...
  'Position',[230 20 70 25],...
  'UserData',[8],...
  'String','OK',...
  'Callback',['TF_index=1;cbackM']);
uicontrol(f,...
 'Style','push',...
 'Position',[320 20 70 25],...
 'String','Help',...
 'Callback','sayhelp(210)');
uicontrol(f,...
 'Style','text',...
 'Position',[120 105 90 18],...
 'Backgroundcolor','w',...
 'Foregroundcolor','k',...
 'HorizontalAlignment','Left',...
 'String','Upper limits of x:');
uicontrol(f,...
 'Style','text',...
 'Position',[120 67 90 18],...
 'Backgroundcolor','w',...
 'Foregroundcolor','k',...
 'HorizontalAlignment','Left',...
 'String','Lower limits of x:');
uicontrol(f,...
 'Style','frame',...
 'Position',[225 102 270 24],...
 'Backgroundcolor','w',...
 'Foregroundcolor','k');
uindex=get_uindex(Xpnummt,Xpdenmt,Xpdeadmt);
if all(length(vub)>=uindex{row,col,p_index})
   temp=num2str(vub(uindex{row,col,p_index}));
else
   temp='';
end
uicontrol(f,...
 'Style','edit',...
 'Position',[230 105 260 18],...
 'Backgroundcolor','w',...
 'Foregroundcolor','k',...
 'UserData',[3],...
 'String',temp,...
 'Callback',['TF_index=1;cbackM']);
uicontrol(f,...
 'Style','frame',...
 'Position',[225 64 270 24],...
 'Backgroundcolor','w',...
 'Foregroundcolor','k');
if all(length(vlb)>=uindex{row,col,p_index})
   temp=num2str(vlb(uindex{row,col,p_index}));
else
   temp='';
end
uicontrol(f,...
 'Style','edit',...
 'Position',[230 67 260 18],...
 'Backgroundcolor','w',...
 'Foregroundcolor','k',...
 'UserData',[1],...
 'String',temp,...
 'Callback',['TF_index=1;cbackM']);

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -