Size and order of MPC Controller
mpc_obj_size = size(MPCobj)
mpc_obj_size = size(MPCobj,signal_type)
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.
= size(MPCobj,signal_type) returns the number of signals
of the specified type that are associated with the MPC controller.
signal_type as one of the following
'uo' — Unmeasured controlled
'md' — Measured disturbances
'ud' — Unmeasured disturbances
'mv' — Manipulated variables
'mo' — Measured controlled
size(MPCobj) displays the
size information for all the signal types of the MPC controller.