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