%% Initialize Control System Designer
% Create an initialization template for configuration 2, with the compensator in the feedback path.

T = sisoinit(2);

%
% Specify the fixed plant model.

T.G.Value = tf(1, [1 1]);

%
% Specify an initial compensator value.

T.C.Value = tf(1,[1 2]);

%
% Open a root locus Editor and Nichols editor for tuning the open-loop response.

T.OL1.View = {'rlocus','nichols'};

% Open Control System Designer using the specified configuration settings.
% controlSystemDesigner(T)
%
% By default, the template for configuration 2 also opens a Bode editor for tuning the closed-loop response.
%
% Copyright 2012 The MathWorks, Inc.