Model Predictive Control Toolbox    
addmod

Combines two models in the MPC mod format such that the output of one combines with the manipulated inputs of the other. This function is specialized and rarely needed. Its main purpose is to build up a model of a complex structure that includes the situation shown in the diagram below.

Syntax

Description
The output(s) of mod2 add to the manipulated variable(s) of mod1 to form a composite system, pmod, with the structure given in the following block diagram:


pmod, mod1 and mod2 are in the MPC mod format (see mod in the online MATLAB Function Reference for a detailed description). You would normally create mod1 and mod2 using either the tfd2mod, ss2mod or th2mod functions.

The different input types associated with mod1 and mod2 will be retained in pmod and will be ordered as shown in the diagram.

Example
See mod2ss for an example of the use of this function.

Restrictions

See Also
addmd, addumd, appmod, paramod, sermod



addmd addumd