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

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

?? ctrllab.m

?? matlab仿真的文件包然后寫(xiě)出其具體功能(至少要20個(gè)字)。盡量不要讓站長(zhǎng)把時(shí)間都花
?? M
?? 第 1 頁(yè) / 共 3 頁(yè)
字號(hào):
%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);');

?? 快捷鍵說(shuō)明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产一区二区精品在线观看| 午夜电影网一区| 日韩成人午夜电影| 91小宝寻花一区二区三区| 26uuu另类欧美| 天堂精品中文字幕在线| 91黄色小视频| 一区在线观看视频| 国模无码大尺度一区二区三区| 欧美性大战久久| 国产一区中文字幕| 9191国产精品| 亚洲图片自拍偷拍| 色综合久久综合中文综合网| 国产精品免费av| 国产精品小仙女| 欧美精品一区二区久久久| 亚洲高清免费视频| 色婷婷国产精品久久包臀| 国产精品久久久久国产精品日日 | 欧美性受xxxx| 亚洲美女一区二区三区| 成人aaaa免费全部观看| 国产色产综合色产在线视频| 国产精品夜夜嗨| 久久美女高清视频| 国内精品国产成人| 久久伊人蜜桃av一区二区| 精品一区二区日韩| 精品国产乱码久久久久久图片 | 久久精品国产77777蜜臀| 91麻豆精品国产91久久久使用方法| 亚洲精品菠萝久久久久久久| 成人18视频日本| 亚洲天堂av老司机| 91麻豆自制传媒国产之光| 亚洲女爱视频在线| 色哟哟精品一区| 亚洲福利视频一区| 欧美日韩成人激情| 日日夜夜一区二区| 欧美成人一区二区| 国产激情偷乱视频一区二区三区| 久久精品人人爽人人爽| 风间由美一区二区三区在线观看 | 亚洲男人电影天堂| 欧亚洲嫩模精品一区三区| 亚洲v日本v欧美v久久精品| 欧美精品乱码久久久久久| 日日夜夜免费精品| 精品盗摄一区二区三区| 国产91对白在线观看九色| 亚洲色大成网站www久久九九| 欧洲视频一区二区| 日韩和的一区二区| 久久这里只有精品首页| 成人av资源网站| 亚洲午夜精品久久久久久久久| 91精品国产综合久久久久久漫画| 久久精品久久综合| 精品国产一区二区三区久久久蜜月| 久久se这里有精品| 国产精品美女久久久久av爽李琼| 色综合久久天天| 日韩电影在线免费| 国产网红主播福利一区二区| 久久久777精品电影网影网 | 国产在线不卡视频| 亚洲国产高清不卡| 色国产综合视频| 美国十次了思思久久精品导航| 国产欧美日韩综合| 91国模大尺度私拍在线视频| 蜜桃久久久久久久| 国产精品美女久久久久av爽李琼| 欧美日韩在线不卡| 国产美女精品在线| 亚洲精品国久久99热| 欧美一个色资源| 成人中文字幕在线| 亚洲国产日韩精品| 国产网站一区二区三区| 91成人国产精品| 精品一区二区三区视频| 亚洲天堂2014| 日韩欧美国产三级| 色先锋资源久久综合| 老色鬼精品视频在线观看播放| 国产精品电影一区二区| 欧美一卡在线观看| 99久久婷婷国产| 免费人成精品欧美精品| 亚洲青青青在线视频| 2020国产精品自拍| 91久久精品一区二区三区| 狠狠色丁香久久婷婷综| 夜夜嗨av一区二区三区网页 | 在线观看不卡视频| 国产福利视频一区二区三区| 五月婷婷久久综合| 最新国产の精品合集bt伙计| 91久久精品午夜一区二区| 国产一区二区在线免费观看| 亚洲视频在线一区观看| 精品区一区二区| av一区二区三区黑人| 免费在线一区观看| 亚洲精品欧美二区三区中文字幕| 久久色成人在线| 欧美放荡的少妇| 色综合久久综合| 成人午夜在线播放| 极品销魂美女一区二区三区| 亚洲6080在线| 亚洲色图视频免费播放| 国产亚洲综合在线| 日韩欧美的一区二区| 欧美色国产精品| 99久久国产免费看| 国产经典欧美精品| 极品美女销魂一区二区三区 | 成人欧美一区二区三区视频网页 | 一本大道久久精品懂色aⅴ| 国产福利一区二区三区视频 | 一区av在线播放| 精品三级在线看| 欧美色欧美亚洲另类二区| 99精品黄色片免费大全| 国产精品综合网| 国产中文字幕一区| 免费成人美女在线观看| 亚洲国产aⅴ天堂久久| 一区二区三区小说| 1024精品合集| 亚洲国产精品激情在线观看| www久久久久| 精品伦理精品一区| 精品美女一区二区三区| 日韩精品最新网址| 制服丝袜日韩国产| 欧美蜜桃一区二区三区 | 视频一区二区中文字幕| 亚洲亚洲人成综合网络| 一区二区三区美女视频| 亚洲老妇xxxxxx| 亚洲欧美日韩久久精品| 中文字幕一区二区三区视频 | 国产成人亚洲综合a∨婷婷图片| 国模娜娜一区二区三区| 日韩电影网1区2区| 亚洲福利视频一区| 亚洲国产欧美一区二区三区丁香婷| 亚洲欧美日韩国产成人精品影院 | 91精品国产综合久久精品app| 欧美亚洲图片小说| 欧美剧情电影在线观看完整版免费励志电影 | 国产亚洲欧美日韩在线一区| 精品裸体舞一区二区三区| 日韩女优毛片在线| 日韩欧美一区中文| 欧美不卡一区二区三区| 久久午夜电影网| 国产欧美精品国产国产专区| 欧美国产精品久久| 亚洲欧洲色图综合| 亚洲精品高清在线| 亚洲国产精品一区二区www| 亚洲国产精品一区二区尤物区| 一区二区理论电影在线观看| 亚洲精品自拍动漫在线| 亚洲国产成人porn| 美女脱光内衣内裤视频久久网站| 国模一区二区三区白浆| 成人午夜又粗又硬又大| 97se亚洲国产综合自在线观| 欧美优质美女网站| 欧美一区二区在线观看| 精品国产百合女同互慰| 美女在线一区二区| 国产伦理精品不卡| 色婷婷一区二区三区四区| 91精品国产综合久久久久久久| 欧美经典一区二区| 亚洲韩国一区二区三区| 国产一区二区成人久久免费影院 | 国产成人av一区二区| 在线观看精品一区| 精品国产凹凸成av人导航| 亚洲视频在线一区| 久久99精品久久久| 在线观看一区不卡| 精品sm捆绑视频| 一区二区三区四区亚洲| 国产麻豆成人精品| 欧美久久久一区| 国产精品久久久久一区| 麻豆国产精品官网| 91亚洲精品乱码久久久久久蜜桃| 日韩欧美在线123| 亚洲黄一区二区三区|