No BSD License
A1=4; A2=3; K1=0.5; K2=1.2; F0=1; F30=1; F3AMP=0.5; h2set=2; Kp=4; sim('TwoTanksLevelControl'); figure(1); plot(t,h1,'r'); hold on; plot(t,h2,'b'); xlabel('time'); ylabel('tank levels'); figure(2); xlabel('time'); ylabel('flow rates'); plot(t,F1,'r'); hold on; plot(t,F2,'b');
Contact us at files@mathworks.com