Tune the Controller Parameters
After you obtain the
genss model representing
your control system, use
tune the tunable parameters in the
hinfstruct takes a tunable linear model
as its input.
For example, you can tune controller parameters for the example discussed in Build Tunable Closed-Loop Model for Tuning with hinfstruct using the following command:
[T,gamma,info] = hinfstruct(T0);
Final: Peak gain = 3.88, Iterations = 67
This command returns the following outputs:
genssmodel object containing the tuned values of
gamma, the minimum peak closed-loop gain of
info, a structure containing additional information about the minimization runs.