Documentation Center

  • Trial Software
  • Product Updates

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 strings:

  • '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

|

Was this topic helpful?