% Get tuned gain surfaces
TGS = getBlockParam(ST);
% Plot gain surfaces
clf
subplot(221), viewSurf(TGS.Kp), title('Kp')
subplot(222), viewSurf(TGS.Ki), title('Ki')
subplot(223), viewSurf(TGS.Ka), title('Ka')
subplot(224), viewSurf(TGS.Kg), title('Kg')
Tuning of Gain-Scheduled Three-Loop Autopilot