Model Predictive Control Toolbox    
mpcinfo

Determines the type of a matrix and returns information about the matrix.

Syntax:

Description
mpcinfo returns information about the type and size of the matrix, mat. The information is determined from the matrix structure. The matrix types include MPC step format, MPC mod format, varying format and constant. mpcinfo returns text output to the screen.

If the matrix is in MPC step format, the output includes the sampling time used to create the model, number of inputs, number of outputs and number of step response coefficients; it also indicates which outputs are stable and which outputs are integrating.

If the matrix is in MPC mod format, the output includes the sampling time used to create the model, number of states, number of manipulated variable inputs, number of measured disturbances, number of unmeasured disturbances, number of measured outputs and number of unmeasured outputs.

For a matrix in varying format, as formed in mod2frsp, the number of independent variable values, and the number of rows and number of columns of each submatrix are output.

For a constant matrix, the text output consists of the number of rows and number of columns.

Examples

   1.
MPC step format: After running the mod2step example mpcinfo(plant) returns:
   2.
MPC mod format: After running the ss2mod example mpcinfo(pmod) returns:
   3.
varying format: After running the mod2frsp example mpcinfo(eyefrsp) returns:

See Also
mod, step, mod2frsp, varying format



mpccon mpcsim