viewSurf displays the gain surface as a function of the scheduling variables, for the
ranges of values specified by domain and stored in the SamplingGrid property of the
gain surface.
Tunable Surfaces in Simulink
In your Simulink model, you model gain schedules using lookup table blocks, MATLAB
Function blocks, or Matrix Interpolation blocks, as described in “Model Gain-Scheduled
Control Systems in Simulink” on page 11-4. To tune these gain surfaces, use
tunableSurface to create a gain surface for each block. In the slTuner interface to
the model, designate each gain schedule as a block to tune, and set its parameterization
to the corresponding gain surface. For instance, the rct_CSTR model includes a gain-
11 Gain-Scheduled Controllers