Model Predictive Control Toolbox™ Previous page   Next Page 
setmpcsignals
 Provide feedback about this page

Set signal types in MPC plant model

Syntax

Description

The purpose of setmpcsignals is to set I/O channels of the MPC plant model P. P must be an LTI object. Valid signal types, their abbreviations, and the channel type they refer to are listed below

Signal Type
Abbreviation
Channel
Manipulated
MV
Input
MeasuredDisturbances
MD
Input
UnmeasuredDisturbances
UD
Input
MeasuredOutputs
MO
Output
UnmeasuredOutputs
UO
Output
.

Unambiguous abbreviations of signal types are also accepted.

P=setmpcsignals(P) sets channel assignments to default, namely all inputs are manipulated variables (MVs), all outputs are measured outputs (MOs). More generally, input signals that are not explicitly assigned are assumed to be MVs, while unassigned output signals are considered as MOs.

Examples

We want to define an MPC object based on the LTI discrete-time plant model sys with four inputs and three outputs. The first and second input are measured disturbances, the third input is an unmeasured disturbance, the fourth input is a manipulated variable (default), the second output is an unmeasured, all other outputs are measured.

See Also

mpc, set


 Provide feedback about this page 

Previous page setmpcdata setname Next page

 © 1984-2008- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS