Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

size

Size and order of MPC Controller

Syntax

mpc_obj_size = size(MPCobj)
mpc_obj_size = size(MPCobj,signal_type)
size(MPCobj)

Description

mpc_obj_size = size(MPCobj) returns a row vector specifying the number of manipulated inputs and measured controlled outputs of an MPC controller. This row vector contains the elements [ nu nym], where nu is the number of manipulated inputs and nym is the number of measured controlled outputs.

mpc_obj_size = size(MPCobj,signal_type) returns the number of signals of the specified type that are associated with the MPC controller.

You can specify signal_type as one of the following:

  • 'uo' — Unmeasured controlled outputs

  • 'md' — Measured disturbances

  • 'ud' — Unmeasured disturbances

  • 'mv' — Manipulated variables

  • 'mo' — Measured controlled outputs

size(MPCobj) displays the size information for all the signal types of the MPC controller.

See Also

|

Introduced before R2006a

Was this topic helpful?