set
Set or modify MPC object properties
Description
Use the Model Predictive Control Toolbox™
set
function to assign property values of an MPC controller (see
mpc
for background).
To implement Get/Set interface of standard MATLAB object, see Implement Set/Get Interface for Properties.
set(
set properties of mpcobj
,Name,Value
)mpcobj
using one or more
Name,Value
pair arguments. For example,
set(mpcobj,"ControlHorizon",4)
assigns the value 3
to the ControlHorizon
property of the MPC controller
mpcobj
.
set(
displays admissible values for the property specified by the character vector
mpcobj
,PropertyName
)Propertyname
. See mpc
for an overview of legitimate MPC property values.
set(
displays all assignable properties
of mpcobj
)mpcobj
and their admissible values.
Examples
Input Arguments
Version History
Introduced before R2006a
See Also
Functions
get
|mpcprops
|getname
|setname
|getindist
|getoutdist
|setindist
|setoutdist
|getconstraint
|setconstraint
|getEstimator
|setEstimator
|setterminal
|review
|sim