亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? ctrllab.m

?? matlab仿真的文件包然后寫出其具體功能(至少要20個字)。盡量不要讓站長把時間都花
?? M
?? 第 1 頁 / 共 3 頁
字號:
%CtrlLAB is the main module of CtrlLAB.  The function syntax is as follows:
%   
%   ctrllab(key,arg1,agr2)
%
%if no argument is specified, then the command executes the main interface.  
%If there are extra arguments, then
%
%   key=0, for program initialization if arg1 not existing,
%         or menu enabling, if arg1 exists
%   key=1, displays and executes the tutorials
%   key=2, perform and display realization of plant model
%   key=3, add extra block to the plant model not 
%          implemented yet.
%
%The functions available in the module are
%
%  ctrllab_blocks -- draw the system blocks
%  ctrllab_toolbar -- creates a toolbar (for MATLAB 5.2+ only)
%  ctrllab_menu -- creates the main menu system
%  arrow_shw -- draw arrows in current window
%  ctrllab_init -- perform initialization in CtrlLAB
%  shw_tutorial -- activate the toturial program in CtrlLAB
%  plant_realiz -- displays the realization of plant model
%  add_sys_blocks -- adds the extra system properties to the plant
%  file_proc -- process the file open/save and quiting tasks
%  select_sigs -- allows one to select signals from the block diagram
%

%Copyright (c) 1997-1999 by Professor Dingyu Xue
%School of Information Science and Engineering, Northeastern University
%Shenyang 110006, P R China
%Email: xue_dy@hotmail.com
%-------------------------------------------------------------------------

function ctrllab(key,arg1,agr2)

%get the handle of the main window
h_main=findobj('Tag','CtrlLABMain');

if nargin==0
   %start the program
   if length(h_main)==0
      %if no such a window exists, then open a new main window
      h_main=figure('Units','normalized','Position',[0.1575 0.34 0.56125 0.448333], ...
         'NumberTitle','off','Name','CtrlLAB Feedback Control Systems Laboratory', ...
         'MenuBar','none','Color',0.8*[1,1,1],'CloseRequestFcn','ctrllab(5,4);',...
         'Tag','CtrlLABMain','Resize','off');
      ctrllab_blocks;
      [v,d]=version; v1=eval(v(1)); v2=eval(v(3));
      if v1>=5 & v2>=2, 
         ctrllab_toolbar; 
         set_contxtmenu(0); set_contxtmenu(1); set_contxtmenu(2); 
         set_contxtmenu(3); set_contxtmenu(4); 
      end 
      ctrllab_menu;
      ctrllab_init(0); 
   else, 
      %if the main window exists, bring it to front
      figure(h_main); 
   end
else
   %perform extra actions
   switch key
   case 0, %initialization of the program
      if nargin==1, ctrllab_init(0); 
      else, ctrllab_init(arg1); end 
   case 1, shw_tutorial(arg1); %perform tutorials 
   case 2, plant_realiz(arg1); %perform and display the realization of the plant model
   case 3, add_sys_blocks(arg1); %add extra blocks to the plant model
   case 5, file_proc(arg1); %call file_proc to process the File menu
   case 6, select_sigs(arg1); %select output signals
   case 7, set_openloop; %setting open-loop selections
   case 8, 
      uu0=get(h_main,'UserData'); g1=get(uu0{1}(1),'UserData');
      if length(g1)>0, matx_proc;
      else, 
         warndlg('Plant model dose not exist, please enter it first!','Matrix Processor Warning:'); 
      end   
   end      
end   

%---------------------------------------------------------------------------------
%ctrllab_blocks is used to create all the block buttons and draw the block diagram
%of typical feedback control structure on the main window.
%---------------------------------------------------------------------------------
function ctrllab_blocks()

extra_funs(1,[0.05,0.05,0.9,0.6]);
fill([0 1 1 0 0],[0 0 1 1 0],[0.502, 1, 1])
set(gca,'visible','off'); 

arrow_shw([0.87 0.60],[0.97,0.60],0.5,[0 0 0]);
arrow_shw([0.615 0.60],[0.715,0.60],0.5,[0 0 0]);
arrow_shw([0.395 0.60],[0.495,0.60],0.5,[0 0 0]);
arrow_shw([0.14 0.60],[0.24,0.60],0.5,[0 0 0]);
arrow_shw([0.01 0.60],[0.10,0.60],0.5,[0 0 0]);
hc(1)=line([0.92,0.92 0.70],[0.60,0.175 0.175]);  
t=0:.1:2*pi+0.1; x1=0.12+0.02*cos(t); y1=0.60+0.05*sin(t);
hc(2)=line(x1,y1); 
arrow_shw([0.70 0.175],[0.60,0.175],0.5,[0 0 0]);
arrow_shw([0.12 0.175],[0.12,0.55],0.05,[0 0 0]);
hc(3)=line([0.12,0.50],[0.175,0.175]); set(hc,'Color','k');

%display the title and its shading
display_str(0.116,0.83,'Typical Continuous Linear Feedback Structure',[1,1,0],'on',16,'Brush Script MT');
display_str(0.11,0.85,'Typical Continuous Linear Feedback Structure',[1,0,0],'on',16,'Brush Script MT');

hc=extra_funs(10,[0.4824,0.3224],[0.8969,0.7450]);
set(hc,'LineStyle',':','Color',[0,0,1]);
display_str(0.64,0.39,'Plant Model',[0,0,1],'on',9,'Times New Roman','normal','italic');

%labelling signal legends
[xL,h_Sig(1)]=display_str(0.17,0.67,'e(t)',[0.6,0.6,0],'on',9);
[xL,h_Sig(2)]=display_str(0.42,0.67,'u(t)',[0.6,0.6,0],'on',9);
[xL,h_Sig(3)]=display_str(0.92,0.67,'y(t)',[1,0,0],'on',9);
[xL,h_Sig(4)]=display_str(0.03,0.67,'\gamma(t)',[0,0,0],'on',9);
display_str(0.09,0.53,'\_',[0,0,0],'on',9);
set(h_Sig(1),'ButtonDownFcn','ctrllab(6,1);');
set(h_Sig(2),'ButtonDownFcn','ctrllab(6,2);');
set(h_Sig(3),'ButtonDownFcn','ctrllab(6,3);');

bSys(1) = uicontrol('Style','PushButton','String','G(s)',...
   'Units','normalized','Position',[0.50 0.35 0.14 0.115],'Callback','proc_model(0,1);');
bSys(2) = uicontrol('Style','PushButton','String','Gc(s)',...
   'Units','normalized','Position',[0.269 0.35 0.14 0.115],'Callback','proc_model(0,2);');
bSys(3) = uicontrol('Style','PushButton','String','H(s)',...
   'Units','normalized','Position',[0.45 0.10 0.14 0.115],'Callback','proc_model(0,3);');
bSys(4) = uicontrol('Style','PushButton','String','Exp(-Ts)',...
   'Units','normalized','Position',[0.695 0.35 0.14 0.112],'Callback','proc_model(0,4);');
   
%set the information to window's UserData.  The first four elements are the handles
%of the four blocks.  The fifth, 
%the sixth if 1 if there is unsaved model
%the seventh is the handle of the main window. The eighth is the signal selection.
set(gcf,'UserData',{[bSys,0,0,0,h_Sig]});

%----------------------------------------------------------------------
%ctrllab_menus is used to create all the menu items in the main window.
%----------------------------------------------------------------------
function ctrllab_toolbar()
load ctrllab_cdata; load clab_disp_cdata; 
yy=get(gcf,'Position'); screen=get(0,'ScreenSize'); ymax=yy(4)*screen(4)-20;
uicontrol('Style','PushButton','Units','pixels','Position',[2,ymax,20,20],...
   'CData',fnew_dat,'CallBack','ctrllab(0);','TooltipString','CtrlLAB initialization');
uicontrol('Style','PushButton','Units','pixels','Position',[22,ymax,20,20],...
   'CData',fopen_dat,'CallBack','ctrllab(5,1);','TooltipString','Load models');
uicontrol('Style','PushButton','Units','pixels','Position',[42,ymax,20,20],...
   'CData',fsave_dat,'CallBack','ctrllab(5,2);','TooltipString','Save models');
uicontrol('Style','PushButton','Units','pixels','Position',[65,ymax,20,20],...
   'CData',help_dat,'CallBack','clab_help(0);','TooltipString','Introduction');
uicontrol('Style','PushButton','Units','pixels','Position',[88,ymax,20,20],...
   'CData',tf_dat,'CallBack','extra_funs(4,3,''Checked'',20,[21:23]); proc_model(1);',...
   'TooltipString','Transfer Function');
uicontrol('Style','PushButton','Units','pixels','Position',[108,ymax,20,20],...
   'CData',ss_dat,'CallBack','extra_funs(4,3,''Checked'',21,[20,22,23]); proc_model(1);',...
   'TooltipString','State Space');
uicontrol('Style','PushButton','Units','pixels','Position',[128,ymax,20,20],...
   'CData',ftf_dat,'CallBack','extra_funs(4,3,''Checked'',23,[20:22]); proc_model(1);',...
   'TooltipString','Factorized Transfer Function');
uicontrol('Style','PushButton','Units','pixels','Position',[148,ymax,20,20],...
   'CData',matx_dat,'CallBack','ctrllab(8);','TooltipString','Matrix Processor');
uicontrol('Style','PushButton','Units','pixels','Position',[168,ymax,20,20],...
   'CData',red_dat,'CallBack','mod_reduction(1);','TooltipString','Model Reduction');
uicontrol('Style','PushButton','Units','pixels','Position',[188,ymax,20,20],...
   'CData',simu_dat,'CallBack','simu_modlib;','TooltipString','Model Library');

uicontrol('Style','PushButton','Units','pixels','Position',[211,ymax,20,20],...
   'String','Bo','CallBack','sys_analysis(1);','TooltipString','Bode Diagram');
uicontrol('Style','PushButton','Units','pixels','Position',[231,ymax,20,20],...
   'String','Ny','CallBack','sys_analysis(2);','TooltipString','Nyquist Plot');
uicontrol('Style','PushButton','Units','pixels','Position',[251,ymax,20,20],...
   'String','Nic','CallBack','sys_analysis(3);','TooltipString','Nichols Chart');
uicontrol('Style','PushButton','Units','pixels','Position',[271,ymax,20,20],...
   'String','Inv','CallBack','sys_analysis(4);','TooltipString','Inverse Nyquist Plot');
uicontrol('Style','PushButton','Units','pixels','Position',[291,ymax,20,20],...
   'String','RL','CallBack','sys_analysis(5);','TooltipString','Inverse Nyquist Plot');
uicontrol('Style','PushButton','Units','pixels','Position',[311,ymax,20,20],...
   'String','St','CallBack','sys_analysis(6);','TooltipString','Step Response');
uicontrol('Style','PushButton','Units','pixels','Position',[331,ymax,20,20],...
   'String','Im','CallBack','sys_analysis(7);','TooltipString','Impulse Response');
uicontrol('Style','PushButton','Units','pixels','Position',[354,ymax,20,20],...
   'CData',openl_dat,'CallBack','ctrllab(6,5);','TooltipString','Open Loop');
uicontrol('Style','PushButton','Units','pixels','Position',[374,ymax,20,20],...
   'CData',closel_dat,'CallBack','ctrllab(6,6);','TooltipString','Closed Loop');
uu0=get(gcf,'UserData');
set(uu0{1}(1),'TooltipString','Plant Model'); set(uu0{1}(2),'TooltipString','Controller Model');
set(uu0{1}(3),'TooltipString','Feedback Model Model'); set(uu0{1}(4),'TooltipString','Time Delay Model');

%----------------------------------------------------------------------
%ctrllab_menus is used to create all the menu items in the main window.
%----------------------------------------------------------------------
function ctrllab_menu()
% Defining menu systems
%
% (1) The File menu system definitions
hMFile(1)=uimenu(gcf,'Label','&File');
hMFile(2)=uimenu(hMFile(1),'Label','&New','CallBack','ctrllab(0);');
hMFile(3)=uimenu(hMFile(1),'Label','&Open ...','CallBack','ctrllab(5,1);');
hMFile(4)=uimenu(hMFile(1),'Label','&Save','CallBack','ctrllab(5,2);');

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
色就色 综合激情| 国产综合色视频| 欧美无人高清视频在线观看| 亚洲人成网站在线| 在线一区二区三区四区五区 | av欧美精品.com| 亚洲婷婷综合色高清在线| 91小视频免费观看| 亚洲.国产.中文慕字在线| 在线播放一区二区三区| 免费在线看成人av| 国产人妖乱国产精品人妖| 不卡一区二区三区四区| 亚洲综合999| 日韩无一区二区| 成人免费视频app| 一区二区三区四区蜜桃| 日韩一区二区三区四区五区六区 | 成人亚洲一区二区一| 亚洲乱码国产乱码精品精98午夜| 欧美视频中文字幕| 激情成人午夜视频| 亚洲欧美乱综合| 欧美videos中文字幕| av中文一区二区三区| 天堂av在线一区| 国产欧美视频一区二区| 欧美日韩国产一区| 国产99久久久国产精品潘金 | 国产精品对白交换视频| 欧美精品乱码久久久久久按摩| 极品尤物av久久免费看| 亚洲欧美日韩综合aⅴ视频| 欧美一区二区视频观看视频| 不卡av在线免费观看| 蜜桃视频免费观看一区| 一色屋精品亚洲香蕉网站| 欧美精品国产精品| 91免费视频网址| 国产综合色在线视频区| 天天免费综合色| 亚洲柠檬福利资源导航| 国产午夜精品在线观看| 欧美片在线播放| 成人av电影免费观看| 麻豆极品一区二区三区| 一区二区三区日韩欧美精品| 久久蜜桃av一区二区天堂| 在线播放视频一区| 色婷婷久久久综合中文字幕| 国产剧情一区二区三区| 另类小说一区二区三区| 图片区小说区区亚洲影院| 亚洲欧美色图小说| 中文字幕亚洲一区二区va在线| 日韩精品专区在线| 91精品国产综合久久精品图片| 色综合久久久久综合| 成人国产一区二区三区精品| 国产另类ts人妖一区二区| 精品一区二区三区在线播放视频| 天天综合天天综合色| 亚洲高清不卡在线| 一区二区三区四区激情| 亚洲精品视频免费看| 亚洲日本青草视频在线怡红院| 国产日韩v精品一区二区| 国产亚洲成年网址在线观看| 久久久精品影视| 久久久亚洲国产美女国产盗摄 | 久久久精品影视| 久久网这里都是精品| 26uuu亚洲婷婷狠狠天堂| 日韩三级高清在线| 欧美videossexotv100| 2023国产精品自拍| 久久亚洲精华国产精华液 | 99久久伊人久久99| 成人福利电影精品一区二区在线观看| 国产精品一区三区| 粉嫩欧美一区二区三区高清影视| 国产精一区二区三区| 国产成人av一区二区三区在线 | 亚洲精品视频自拍| 亚洲一区二区三区爽爽爽爽爽| 亚洲一区国产视频| 日精品一区二区三区| 免费在线成人网| 国内精品免费**视频| 丁香一区二区三区| 色综合久久久久久久| 欧美日韩亚洲国产综合| 这里只有精品视频在线观看| 欧美岛国在线观看| 国产精品欧美经典| 亚洲欧美电影一区二区| 日韩中文字幕av电影| 蜜桃视频一区二区| 成人做爰69片免费看网站| av在线播放成人| 在线观看国产91| 欧美一区二区日韩一区二区| 久久精品日韩一区二区三区| 国产午夜精品福利| 一区二区高清免费观看影视大全 | 久久亚洲一区二区三区四区| 国产精品日日摸夜夜摸av| 最新日韩在线视频| 日韩激情一二三区| 国产精品1区2区3区| 日本高清不卡视频| 精品日韩欧美在线| 国产精品不卡在线| 日韩 欧美一区二区三区| 国产一本一道久久香蕉| 日本韩国一区二区| 精品福利一区二区三区| 亚洲女人的天堂| 国产在线视视频有精品| 在线视频国产一区| 久久久久久麻豆| 香港成人在线视频| 粉嫩av亚洲一区二区图片| 欧美精品日韩精品| 亚洲免费观看高清在线观看| 美女任你摸久久| 在线免费观看日韩欧美| 中文字幕免费观看一区| 欧美午夜电影一区| 欧美激情一区二区三区不卡| 亚洲狠狠爱一区二区三区| 国产精品1区2区| 欧美精品xxxxbbbb| 亚洲欧美电影一区二区| 国产精品白丝av| 日韩欧美国产高清| 亚洲国产成人tv| 成人av午夜电影| 精品国产一区二区三区久久影院 | 久久精品99久久久| 91黄色免费版| 日韩美女精品在线| 韩日欧美一区二区三区| 884aa四虎影成人精品一区| 亚洲精品国产无套在线观| 国内精品久久久久影院薰衣草| 555www色欧美视频| 亚洲国产一区二区在线播放| 成+人+亚洲+综合天堂| 久久久不卡网国产精品二区| 蜜臀国产一区二区三区在线播放| 欧美中文字幕一区| 亚洲精品乱码久久久久久久久 | 欧美伊人精品成人久久综合97 | 成人自拍视频在线| 精品国产乱码久久久久久老虎| 五月综合激情日本mⅴ| 欧美在线一二三| 亚洲欧美激情插 | 成人国产一区二区三区精品| 国产亚洲欧美色| 国产麻豆午夜三级精品| 欧美大片顶级少妇| 免费在线一区观看| 日韩精品中文字幕在线不卡尤物| 五月婷婷综合网| 91精品一区二区三区在线观看| 婷婷综合久久一区二区三区| 欧美日韩日本视频| 日韩成人一级片| 日韩欧美亚洲一区二区| 精品一二三四在线| 国产日韩高清在线| av毛片久久久久**hd| 一区二区三区鲁丝不卡| 欧美日韩一区成人| 日韩精品乱码免费| 日韩视频一区在线观看| 久久99热这里只有精品| 久久久精品tv| 成人a区在线观看| 日韩美女视频19| 欧美伦理电影网| 久久精品国产99国产| 久久久国产精品麻豆| 成年人网站91| 亚洲午夜影视影院在线观看| 欧美日韩一级二级三级| 久久国产精品免费| 国产日韩欧美精品一区| 色综合久久88色综合天天| 性感美女极品91精品| 久久综合色播五月| 成人深夜视频在线观看| 亚洲综合小说图片| 日韩一级完整毛片| 成人一区二区三区在线观看| 一区二区三区在线播放| 欧美大片顶级少妇| 不卡一区在线观看|