checkOpts
check if the specified settings take correct values
Contents
Syntax
Opts = checkOpts(Opts,name,Param,nx,nu,isLin)
Description
Checks if the specified algorithm settings take valid values and assign default values to settings that are not specified.
Input Arguments
Opts |
a structure containing the algorithm settings |
name |
name of the control algorithm, e.g. 'generatorSpaceControl', etc. |
Param |
a structure containing the benchmark parameters |
nx |
number of system states |
nu |
number of inputs |
isLin |
flag specifying if the model is linear (isLin = 1) or nonlinear (isLin = 0) |
Output Arguments
Opts |
adapted structure of algorithm settings |
See Also
generatorSpaceControl, convexInterpolationControl
© 2018-2020 I6 Technische Universität München Website License
![]() |
![]() |
![]() |
![]() |