Validation
To further validate this design, push the tuned gain surfaces to the Simulink model.
writeBlockValue(ST)
For the three lookup table blocks "I phi", "I alpha", "I beta", writeBlockValue samples
the gain surfaces at the table breakpoints and updates the table data in the model
workspace. For the MATLAB Function blocks "P phi", "P alpha", "P beta",
writeBlockValue generates MATLAB code for the gain surface equations. For example,
the code for the "P phi" block looks like
11 Gain-Scheduled Controllers