%% PID Controller with Named Input and Output
% When you create a PID controller, set the dynamic system properties InputName and OutputName. This is useful, for example, when you interconnect the PID controller with other dynamic system models using the connect command.

C = pid(1,2,3,'InputName','e','OutputName','u')

%
% The display does not show the input and output names for the PID controller, but you can examine the property values. For instance, verify the input name of the controller.

C.InputName

% Copyright 2015 The MathWorks, Inc.