%Antiwindup_setup.m
%Anti-windup

clc

A=1;

Kp=input('\nEnter proportional gain: ');
Ki=input('\nEnter integral gain: ');

sat=input('\nDo we consider actuator saturation (1=yes,0=no): ');
if sat==1
    M=input('\nEnter saturation level: ');
end
aw=input('\nDo we implement the anti-windup (1=yes,0=no): ');
