MATLAB: How to get the control signal from the pid controller

output of pid

suppose we have simple code like this
As=[matrix A]; Bs=[matrix B]'; Cs=[matrix A]; Ds = 0; Syss = ss(As,Bs,Cs,Ds); TF=tf(Syss); FE=1; C=pid(kp,ki,kd); T=feedback(C*TF,FE)
how can I get the control signal (output of the PID controller)?

Best Answer

sys=C/(1+C*TF);
step(sys)