How can I get mv data(controller output) in Step command ?

조회 수: 8 (최근 30일)
Suraporn Puangpanbut
Suraporn Puangpanbut 2016년 8월 4일
댓글: Suraporn Puangpanbut 2016년 8월 9일
Hi guys, I am wondering whether I can get the mv data(controller output) from Step command.
I know that I can get the system response(y or pv) from this command, [y,t] = step(sys,Tfinal) and I also know that I can get the mv(controller output) if I connect control loop in Simulink.
But, is there any way to get the mv(controller output) from step command ? Thank you a lot guys.
  댓글 수: 1
Suraporn Puangpanbut
Suraporn Puangpanbut 2016년 8월 9일
Use this one,
y=step(C*P,1,t_final); mv=step(C,P,t_final);
or [y,t1]=step(C*P,1,t_final); [mv,t2]=step(C,P,t_final); if you want to get the time vector as well.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Classical Control Design에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by