FUNCTION REFERENCE

mpc.mpcmove

Compute one model predictive control move for an mpc controller and mpcstate object.

Compute one model predictive control move for an mpc controller and mpcstate object.

Syntax

[mv, info] = mpcmove(mpcobj, x, y, r)

Solves the MPC quadratic program at the current state x, measured output y and reference r, updating x in place and returning the manipulated variable move mv.

Example

p = ss(0.8, 1, 1, 0, 1); c = mpc(p, 1); x = mpcstate(c); mv = mpcmove(c, x, 0, 1); isscalar(mv)   % true

Differences from MATLAB: Linear time-invariant MPC without adaptive or LTV plant updates.

These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.