FUNCTION REFERENCE
setmpcsignals
Set MPC signal types on an LTI plant model.
Set MPC signal types on an LTI plant model.
Syntax
plant = setmpcsignals(plant,'MV',mv,'MD',md,'UD',ud,'MO',mo,'UO',uo)Unspecified inputs default to MV and unspecified outputs to MO. Indices are one-based vectors without overlap. Full names ManipulatedVariables, MeasuredDisturbances, UnmeasuredDisturbances, MeasuredOutputs and UnmeasuredOutputs are also accepted.
Example
p=ss(0.8,[0.2 0.4],1,[0 0],0.1); p=setmpcsignals(p,'MV',1,'MD',2); c=mpc(p)Differences from MATLAB: at most 128 plant inputs and outputs. Configure signal types before constructing the controller; later model transformations can discard MPC signal metadata.
These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.