Documentation Center

  • Trial Software
  • Product Updates

Functions in Model Predictive Control Toolbox

  • By Category | Alphabetical List
  • Plant Specification

    setmpcsignals Set signal types in MPC plant model

    Controller Design

    mpc Create MPC controller
    mpctool Start Model Predictive Controller GUI
    mpcmove Optimal control action
    sim Simulate closed-loop/open-loop response to arbitrary reference and disturbance signals

    Refinement

    get MPC property values
    getconstraint Model Predictive Control custom constraint definitions
    getestim Model and gain for observer design
    getindist Unmeasured input disturbance model
    getname I/O signal names in MPC prediction model
    getoutdist Unmeasured output disturbance model
    size Size and order of MPC Controller
    set Set or modify MPC object properties
    setconstraint Custom constraints on plant inputs and outputs
    setestim Modify MPC object's linear state estimator
    setindist Modify unmeasured input disturbance model
    setname Set I/O signal names in MPC prediction model
    setoutdist Modify unmeasured output disturbance model
    setterminal Terminal weights and constraints

    Analysis

    cloffset Compute MPC closed-loop DC gain from output disturbances to measured outputs assuming constraints are inactive at steady state
    compare Compare two MPC objects
    review Examine MPC controller for design errors and stability problems at run-time
    sensitivity Compute effect of controller tuning weights on performance
    d2d Change MPC controller's sampling time
    ss Convert unconstrained MPC controller to state-space linear system
    tf Convert unconstrained MPC controller to linear transfer function
    zpk Convert unconstrained MPC controller to zero/pole/gain form
    gpc2mpc Generate MPC controller using generalized predictive controller (GPC) settings

    Simulation

    mpcmove Optimal control action
    sim Simulate closed-loop/open-loop response to arbitrary reference and disturbance signals
    mpcstate Define MPC controller state
    plot Plot responses generated by MPC simulations
    trim Compute steady-state value of MPC controller state for given inputs and outputs

    Code Generation

    review Examine MPC controller for design errors and stability problems at run-time
    Was this topic helpful?