Set or modify MPC object properties
set(MPCobj,Property,Value)
set(MPCobj,Property1,Value1,Property2,Value2,...)
set(MPCobj,Property)
set(sys)
The set
function is used to set or modify the properties of an MPC
controller (see mpc
for background on MPC properties).
set
uses property Name,Value pairs to update property
values.
set(MPCobj,Property,Value)
assigns the
value Value
to the property of the MPC controller MPCobj
specified
by the character vector or string Property
. Property
can
be the full property name (for example, 'UserData'
)
or any unambiguous case-insensitive abbreviation (for example, 'user'
).
set(MPCobj,Property1,Value1,Property2,Value2,...)
sets
multiple property values with a single statement. Each property Name,Value
pair updates one particular property.
set(MPCobj,Property)
displays admissible values for the property
specified by the character vector Property
. See mpc
for an overview of legitimate MPC property values.
set(sys)
displays all assignable properties
of sys
and their admissible values.