function fig = progzos()
% This is the machine-generated representation of a Handle Graphics object
% and its children.  Note that handle values may change when these objects
% are re-created. This may cause problems with any callbacks written to
% depend on the value of the handle at the time the object was saved.
%
% To reopen this object, just type the name of the M-file at the MATLAB
% prompt. The M-file and its associated MAT-file must be on your path.

load progzos

h0 = figure('Units','points', ...
	'Color',[0.752941176470588 0.752941176470588 0.752941176470588], ...
	'Colormap',mat0, ...
	'MenuBar','none', ...
	'Name','Gain-Scheduling control design for SISO systems', ...
	'NumberTitle','off', ...
	'PointerShapeCData',mat1, ...
	'Position',[109.5 45.75 444 370.5], ...
	'Resize','off', ...
	'Tag','OknoM2Ch');
h1 = uicontrol('Parent',h0, ...
	'Units','points', ...
	'BackgroundColor',[0.752941176470588 0.752941176470588 0.752941176470588], ...
	'FontAngle','oblique', ...
	'FontName','Arial', ...
	'FontSize',22, ...
	'ForegroundColor',[1 0 0.501960784313725], ...
	'ListboxTop',0, ...
	'Position',[4.5 335.25 437.25 30], ...
	'String','Gain-Scheduling control for SISO systems', ...
	'Style','text', ...
	'Tag','HlavnyTitulok');
h1 = uicontrol('Parent',h0, ...
	'Units','points', ...
	'BackgroundColor',[0.752941176470588 0.752941176470588 0.752941176470588], ...
	'FontAngle','italic', ...
	'FontSize',12, ...
	'ListboxTop',0, ...
	'Position',[2.25 321 438 16.5], ...
	'String','(state-space control design via extended linearization and pole placement)', ...
	'Style','text', ...
	'Tag','Podnadpis');
h1 = uicontrol('Parent',h0, ...
	'Units','points', ...
	'BackgroundColor',[0.752941176470588 0.752941176470588 0.752941176470588], ...
	'ListboxTop',0, ...
	'Position',[27.75 234 392.25 72.75], ...
	'Style','frame', ...
	'Tag','Ram1');
h1 = uicontrol('Parent',h0, ...
	'Units','points', ...
	'BackgroundColor',[0.752941176470588 0.752941176470588 0.752941176470588], ...
	'ListboxTop',0, ...
	'Position',[37.5 300.75 147.75 12.75], ...
	'String','Nonlinear system state-space equations', ...
	'Style','text', ...
	'Tag','TitulokStavopis');
h1 = uicontrol('Parent',h0, ...
	'Units','points', ...
	'BackgroundColor',[0.752941176470588 0.752941176470588 0.752941176470588], ...
	'ListboxTop',0, ...
	'Position',[27.75 185.25 393 36], ...
	'Style','frame', ...
	'Tag','Ram2');
h1 = uicontrol('Parent',h0, ...
	'Units','points', ...
	'BackgroundColor',[0.752941176470588 0.752941176470588 0.752941176470588], ...
	'ListboxTop',0, ...
	'Position',[37.5 214.5 81 12.75], ...
	'String','Controller parameters', ...
	'Style','text', ...
	'Tag','TitulokPolyTypprog');
h1 = uicontrol('Parent',h0, ...
	'Units','points', ...
	'Callback','progzos_code;', ...
	'ListboxTop',0, ...
	'Position',[66 155.25 52.5 20.25], ...
	'String','Evaluation', ...
	'Tag','BtnVypocet');
h1 = uicontrol('Parent',h0, ...
	'Units','points', ...
	'Callback','close_system(''gssiso'');close(gcf);', ...
	'ListboxTop',0, ...
	'Position',[255.75 155.25 52.5 20.25], ...
	'String','Exit', ...
	'Tag','BtnKoniec');
h1 = uicontrol('Parent',h0, ...
	'Units','points', ...
	'Callback','web(fullfile(cd,''help'',''progzos.html''));', ...
	'ListboxTop',0, ...
	'Position',[319.5 155.25 52.5 20.25], ...
	'String','Help', ...
	'Tag','BtnPomocnik');
h1 = uicontrol('Parent',h0, ...
	'Units','points', ...
	'BackgroundColor',[0.752941176470588 0.752941176470588 0.752941176470588], ...
	'ListboxTop',0, ...
	'Position',[48 279 23.25 15.75], ...
	'String','f(x) = ', ...
	'Style','text', ...
	'Tag','TextF');
h1 = uicontrol('Parent',h0, ...
	'Units','points', ...
	'BackgroundColor',[0.752941176470588 0.752941176470588 0.752941176470588], ...
	'ListboxTop',0, ...
	'Position',[47.25 261 23.25 15.75], ...
	'String','g(x) = ', ...
	'Style','text', ...
	'Tag','TextG');
h1 = uicontrol('Parent',h0, ...
	'Units','points', ...
	'BackgroundColor',[0.752941176470588 0.752941176470588 0.752941176470588], ...
	'ListboxTop',0, ...
	'Position',[47.25 244.5 24 13.5], ...
	'String','h(x) = ', ...
	'Style','text', ...
	'Tag','TextH');
h1 = uicontrol('Parent',h0, ...
	'Units','points', ...
	'BackgroundColor',[1 1 1], ...
	'Callback',mat2, ...
	'ListboxTop',0, ...
	'Position',[72.75 281.25 211.5 15], ...
	'Style','edit', ...
	'Tag','EditF');
h1 = uicontrol('Parent',h0, ...
	'Units','points', ...
	'BackgroundColor',[1 1 1], ...
	'Callback',mat3, ...
	'ListboxTop',0, ...
	'Position',[72.75 264 211.5 15], ...
	'Style','edit', ...
	'Tag','EditG');
h1 = uicontrol('Parent',h0, ...
	'Units','points', ...
	'BackgroundColor',[1 1 1], ...
	'Callback',mat4, ...
	'ListboxTop',0, ...
	'Position',[72.75 246.75 211.5 15], ...
	'Style','edit', ...
	'Tag','EditH');
h1 = uicontrol('Parent',h0, ...
	'Units','points', ...
	'BackgroundColor',[0.752941176470588 0.752941176470588 0.752941176470588], ...
	'FontAngle','oblique', ...
	'FontName','Arial', ...
	'FontSize',16, ...
	'ListboxTop',0, ...
	'Position',[296.25 269.25 111.75 19.5], ...
	'String','x = f(x) + g(x) u', ...
	'Style','text', ...
	'Tag','ObrFG');
h1 = uicontrol('Parent',h0, ...
	'Units','points', ...
	'BackgroundColor',[0.752941176470588 0.752941176470588 0.752941176470588], ...
	'FontAngle','oblique', ...
	'FontName','Arial', ...
	'FontSize',16, ...
	'ListboxTop',0, ...
	'Position',[294.75 250.5 60.75 19.5], ...
	'String','y = h(x)', ...
	'Style','text', ...
	'Tag','ObrH');
h1 = uicontrol('Parent',h0, ...
	'Units','points', ...
	'BackgroundColor',[0.752941176470588 0.752941176470588 0.752941176470588], ...
	'FontAngle','oblique', ...
	'FontName','Arial', ...
	'FontSize',16, ...
	'ListboxTop',0, ...
	'Position',[297 282.75 11.25 18], ...
	'String','.', ...
	'Style','text', ...
	'Tag','ObrBodka');
h1 = uicontrol('Parent',h0, ...
	'Units','points', ...
	'BackgroundColor',[0.752941176470588 0.752941176470588 0.752941176470588], ...
	'ListboxTop',0, ...
	'Position',[39.75 195 72 12.75], ...
	'String','Desired poles:', ...
	'Style','text', ...
	'Tag','TextPoly');
h1 = uicontrol('Parent',h0, ...
	'Units','points', ...
	'BackgroundColor',[1 1 1], ...
	'Callback',mat5, ...
	'ListboxTop',0, ...
	'Position',[116.25 195.75 60 15], ...
	'Style','edit', ...
	'Tag','EditPoly');
h1 = uicontrol('Parent',h0, ...
	'Units','points', ...
	'BackgroundColor',[0.752941176470588 0.752941176470588 0.752941176470588], ...
	'ListboxTop',0, ...
	'Position',[27.75 78.75 393 62.25], ...
	'Style','frame', ...
	'Tag','Ram3');
h1 = uicontrol('Parent',h0, ...
	'Units','points', ...
	'BackgroundColor',[1 1 1], ...
	'Callback','progzos_code;', ...
	'Enable','off', ...
	'Position',[162 86.25 247.5 44.25], ...
	'Style','listbox', ...
	'Tag','ListboxRovnovs', ...
	'Value',1);
h1 = uicontrol('Parent',h0, ...
	'Units','points', ...
	'BackgroundColor',[0.752941176470588 0.752941176470588 0.752941176470588], ...
	'ListboxTop',0, ...
	'Position',[37.5 138 93 9.75], ...
	'String','System equilibrium points', ...
	'Style','text', ...
	'Tag','TitulokRovnovs');
h1 = uicontrol('Parent',h0, ...
	'Units','points', ...
	'BackgroundColor',[0.752941176470588 0.752941176470588 0.752941176470588], ...
	'ListboxTop',0, ...
	'Position',[27.75 14.25 393 55.5], ...
	'String','Linearizaèný vz�ah (nelineárna spätná väzba)', ...
	'Style','frame', ...
	'Tag','Ram4');
h1 = uicontrol('Parent',h0, ...
	'Units','points', ...
	'BackgroundColor',[0.752941176470588 0.752941176470588 0.752941176470588], ...
	'FontAngle','oblique', ...
	'FontName','Arial', ...
	'FontSize',16, ...
	'ListboxTop',0, ...
	'Position',[29.25 33.75 87.75 19.5], ...
	'String','u = u(w,x)', ...
	'Style','text', ...
	'Tag','ObrAkcZasah');
h1 = uicontrol('Parent',h0, ...
	'Units','points', ...
	'BackgroundColor',[0.752941176470588 0.752941176470588 0.752941176470588], ...
	'ListboxTop',0, ...
	'Position',[36 60.75 84.75 14.25], ...
	'String','Calculated control law', ...
	'Style','text', ...
	'Tag','TitulokAkcZasah');
h1 = uicontrol('Parent',h0, ...
	'Units','points', ...
	'BackgroundColor',[1 1 1], ...
	'ListboxTop',0, ...
	'Position',[122.25 34.5 241.5 15], ...
	'Style','edit', ...
	'Tag','EditAkcZasah');
h1 = uicontrol('Parent',h0, ...
	'Units','points', ...
	'Callback','open_system(''gssiso'');', ...
	'Enable','off', ...
	'ListboxTop',0, ...
	'Position',[192.75 155.25 52.5 20.25], ...
	'String','Simulation...', ...
	'Tag','BtnSimulacia');
h1 = uicontrol('Parent',h0, ...
	'Units','points', ...
	'Callback','disp('' '');disp(''Calculated control law: u = '');pretty(u);', ...
	'Enable','off', ...
	'ListboxTop',0, ...
	'Position',[375 30 34.5 21.75], ...
	'String','pretty', ...
	'Tag','BtnVystup');
h1 = uicontrol('Parent',h0, ...
	'Units','points', ...
	'Callback',mat6, ...
	'ListboxTop',0, ...
	'Position',[129 155.25 52.5 20.25], ...
	'String','Clear', ...
	'Tag','BtnReset');
h1 = uicontrol('Parent',h0, ...
	'Units','points', ...
	'BackgroundColor',[1 1 1], ...
	'Callback',mat7, ...
	'ListboxTop',0, ...
	'Position',[258.75 195 113.25 15], ...
	'String',['none, fixed op. point: y0 =  ';'input scheduling (w)         ';'output scheduling (y)        ';'mixed scheduling, ratio: m = '], ...
	'Style','popupmenu', ...
	'Tag','PopupTypprog', ...
	'Value',2);
h1 = uicontrol('Parent',h0, ...
	'Units','points', ...
	'BackgroundColor',[0.752941176470588 0.752941176470588 0.752941176470588], ...
	'ListboxTop',0, ...
	'Position',[182.25 195 72 12.75], ...
	'String','Scheduling type:', ...
	'Style','text', ...
	'Tag','TextTypprog');
h1 = uicontrol('Parent',h0, ...
	'Units','points', ...
	'BackgroundColor',[1 1 1], ...
	'Callback',mat8, ...
	'ListboxTop',0, ...
	'Position',[378.75 195 33 15], ...
	'Style','edit', ...
	'Tag','EditPracBod', ...
	'Visible','off');
h1 = uicontrol('Parent',h0, ...
	'Units','points', ...
	'BackgroundColor',[0.752941176470588 0.752941176470588 0.752941176470588], ...
	'FontAngle','oblique', ...
	'FontName','Arial', ...
	'FontSize',16, ...
	'ListboxTop',0, ...
	'Position',[38.25 98.25 111.75 19.5], ...
	'String','f(x) + g(x) u = 0', ...
	'Style','text', ...
	'Tag','ObrRovnovs');
if nargout > 0, fig = h0; end
