| Products & Services | Solutions | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → Model Predictive Control Toolbox |
| Contents | Index |
MPC Simulation Options Object
The mpcsimopt object type contains various simulation options for simulating an MPC controller with the command sim. Its properties are listed in Table 9-11.
returns an empty @mpcsimopt object. You must use set / get to change simulation options.
UnmeasuredDisturbance is an array with as many columns as unmeasured disturbances, InputNoise and MVSignal are arrays with as many columns as manipulated variables, OutputNoise is an array with as many columns as measured outputs. The last sample of the array is extended constantly over the horizon to obtain the correct size.
| Note Nonzero values of ControllerInitialState.LastMove are only meaningful if there are constraints on the increments of the manipulated variables. |
The property Model is useful for simulating the MPC controller under model mismatch. The LTI object specified in Model can be either a replacement for Model.Plant, or a structure with fields Plant, Nominal. By default, Model is equal to MPCobj.Model (no model mismatch). If Model is specified, then PlantInitialState refers to the initial state of Model.Plant and is defaulted to Model.Nominal.x.
If Model.Nominal is empty, Model.Nominal.U and Model.Nominal.Y are inherited from MPCobj.Model.Nominal. Model.Nominal.X/DX is only inherited if both plants are state-space objects with the same state dimension.
| Provide feedback about this page |
![]() | MPC Controller Object | MPC State Object | ![]() |

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.
| © 1984-2009- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |