two inputs to the Robust controller K but got one dimension transfer Fcn
1 view (last 30 days)
Show older comments
% 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 Comment
Jonathan LeSage
on 15 Oct 2013
Could you clean up your code with the Code button? That way I can take a look at it! Thanks.
Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!