In this implementation, the time-varying matrices are each implemented as a MATLAB
Function block in which the associated function takes the simulation time and returns a
matrix of appropriate dimensions.
You can tune matrix-valued gain schedules implemented as either MATLAB Function
blocks or as Matrix Interpolation blocks. However, to tune a Matrix Interpolation block,
you must set Simulate using to Interpreted execution. See the Matrix
Interpolation block reference page for information about simulation modes.
Model Gain-Scheduled Control Systems in Simulink