two inputs to the Robust controller K but got one dimension transfer Fcn

조회 수: 1 (최근 30일)
hin
hin 2013년 10월 15일
댓글: Jonathan LeSage 2013년 10월 15일
% open-loop connection with the weighting function systemnames = ' G We Wt Wu'; inputvar = '[ pert{6};ref{2}; dist;control ]'; outputvar = '[ G(1:6); We; Wt;Wu; ref-G(7:8)]'; input_to_G = '[ pert;dist;control]'; input_to_We = '[ G(7:8)-ref]'; input_to_Wt = '[ -G(7:8) ]'; input_to_Wu = '[ control ]'; sysoutname = 'sys_ic'; cleanupsysic = 'yes'; sysic I used open-loop code ,obviously two inputs to the controller K because of ref-G(7:8),but i just got 1×1 robust controller K transfer Fcn from the toolbox,so i can't connect two inputs to the 1×1 controller K by simulink now.
  댓글 수: 1
Jonathan LeSage
Jonathan LeSage 2013년 10월 15일
Could you clean up your code with the Code button? That way I can take a look at it! Thanks.

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

답변 (0개)

카테고리

Help CenterFile Exchange에서 Simulink에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by