| Model Predictive Control Toolbox | ![]() |
Puts two models in series by connecting the output of one to the input of the other. Mimics the series function of the Control System Toolbox, except that sermod works on models in the MPC mod format.
Syntax
mod1 and mod2 are models in the MPC mod format (see mod in the online MATLAB Function Reference for a detailed description). You would normally create them using either the tfd2mod, ss2mod or th2mod functions.
sermod combines them to form a composite system, pmod, as shown in the above diagram. It is also in the mod format. Note how the inputs to mod1 and mod2 are ordered in pmod.
Restrictions
mod1 and mod2 must have been created with equal sampling periods.
mod1 must equal the number of manipulated variables in mod2.
See Also
addmd, addmod, addumd, appmod, paramod
![]() | scmpc | smpccl | ![]() |