two inputs to the Robust controller K but got one dimension transfer Fcn
1 次查看(过去 30 天)
显示 更早的评论
% 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
2013-10-15
Could you clean up your code with the Code button? That way I can take a look at it! Thanks.
回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!