資源簡介
增量式PID的MATLAB實現,實現華北電力大學課程設計-增量式PID的MATLAB實現.是火電廠熱工自動控制的課程設計,供大家參考

代碼片段和文件信息
function?varargout?=?single_loop(varargin)
%?SINGLE_LOOP?MATLAB?code?for?single_loop.fig
%??????SINGLE_LOOP?by?itself?creates?a?new?SINGLE_LOOP?or?raises?the?existing
%??????singleton*.
%
%??????H?=?SINGLE_LOOP?returns?the?handle?to?a?new?SINGLE_LOOP?or?the?handle?to
%??????the?existing?singleton*.
%
%??????SINGLE_LOOP(‘CALLBACK‘hobjecteventDatahandles...)?calls?the?local
%??????function?named?CALLBACK?in?SINGLE_LOOP.M?with?the?given?input?arguments.
%
%??????SINGLE_LOOP(‘Property‘‘Value‘...)?creates?a?new?SINGLE_LOOP?or?raises?the
%??????existing?singleton*.??Starting?from?the?left?property?value?pairs?are
%??????applied?to?the?GUI?before?single_loop_OpeningFcn?gets?called.??An
%??????unrecognized?property?name?or?invalid?value?makes?property?application
%??????stop.??All?inputs?are?passed?to?single_loop_OpeningFcn?via?varargin.
%
%??????*See?GUI?Options?on?GUIDE‘s?Tools?menu.??Choose?“GUI?allows?only?one
%??????instance?to?run?(singleton)“.
%
%?See?also:?GUIDE?GUIDATA?GUIHANDLES
%?Edit?the?above?text?to?modify?the?response?to?help?single_loop
%?Last?Modified?by?GUIDE?v2.5?29-May-2019?19:23:30
%?Begin?initialization?code?-?DO?NOT?EDIT
gui_Singleton?=?1;
gui_State?=?struct(‘gui_Name‘???????mfilename?...
???????????????????‘gui_Singleton‘??gui_Singleton?...
???????????????????‘gui_OpeningFcn‘?@single_loop_OpeningFcn?...
???????????????????‘gui_OutputFcn‘??@single_loop_OutputFcn?...
???????????????????‘gui_LayoutFcn‘??[]??...
???????????????????‘gui_Callback‘???[]);
if?nargin?&&?ischar(varargin{1})
????gui_State.gui_Callback?=?str2func(varargin{1});
end
if?nargout
????[varargout{1:nargout}]?=?gui_mainfcn(gui_State?varargin{:});
else
????gui_mainfcn(gui_State?varargin{:});
end
%?End?initialization?code?-?DO?NOT?EDIT
%?---?Executes?just?before?single_loop?is?made?visible.
function?single_loop_OpeningFcn(hobject?eventdata?handles?varargin)
%?Choose?default?command?line?output?for?single_loop
handles.output?=?hobject;
%?Update?handles?structure
guidata(hobject?handles);
%?定義一個結構體用來存儲計算過程中的變量
global?data;
%?---?Outputs?from?this?function?are?returned?to?the?command?line.
function?varargout?=?single_loop_OutputFcn(hobject?eventdata?handles)?
%?varargout??cell?array?for?returning?output?args?(see?VARARGOUT);
%?Get?default?command?line?output?from?handles?structure
varargout{1}?=?handles.output;
%?---?Executes?during?object?creation?after?setting?all?properties.
function?figure1_CreateFcn(hobject?eventdata?handles)
%?---?Executes?during?object?creation?after?setting?all?properties.
function?numInput_CreateFcn(hobject?eventdata?handles)
%?Hint:?edit?controls?usually?have?a?white?background?on?Windows.
%???????See?ISPC?and?COMPUTER.
if?ispc?&&?isequal(get(hobject‘BackgroundColor‘)?get(0‘defaultUicontrolBackgroundColor‘))
????set(hobject‘BackgroundColor‘‘white‘);
end
%?---?Executes?during?object?creation?after?setting?all?properties.
function?denInput_CreateFcn(hobject?eventdata?handles)
%?Hint:
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件???????7994??2019-06-22?13:21??control\single_loop.fig
?????文件???????8394??2019-06-22?13:23??control\single_loop.m
?????目錄??????????0??2019-06-22?13:27??control
-----------?---------??----------?-----??----
????????????????16388????????????????????3
評論
共有 條評論