This character array is the name of thei
th input or output signal (and it does not affect whether the signal is categorized as a manipulated variable, measured or unmeasured disturbance, measured or unmeasured output).
For input signals, this is the content ofMPCobj.Model.Plant.InputName{i}
, while for output signals, this is the content ofMPCobj.Model.Plant.OutputName{i}
.
If the specified signal is a manipulated variable, this field is typically'MV1'
,'MV2'
, and so on, up to the number of manipulated variables, unless specifically set otherwise. This is also identical to the content of theName
field of the corresponding structure inMPCobj.ManipulatedVariables
.
If the specified signal is a disturbance input, this field is typically'MD1'
,'MD2'
, and so on, up to the number of measured disturbance variables, or'UD1'
,'UD2'
, and so on, up to the number of unmeasured disturbance variables, unless specifically set otherwise. This is also the content of the correspondingName
field ofMPCobj.DisturbanceVariables
.
If the specified signal is a output signal, this field is typically“MO1”
,'MO2'
, and so on, up to the number of measured output variables, or'UO1'
,'UO2'
, and so on, up to the number of unmeasured output variables, unless specifically set otherwise. This is also the content of the correspondingName
field ofMPCobj.OutputVariables
.