Products & Services Solutions Academia Support User Community Company


getname

Purpose

I/O signal names in MPC prediction model

Syntax

Description

name=getname(MPCobj,'input',I) returns the name of the I-th input signal in variable name. This is equivalent to name=MPCobj.Model.Plant. InputName{I}. The name property is equal to the contents of the corresponding Name field of MPCobj.DisturbanceVariables or MPCobj.ManipulatedVariables.

name=getname(MPCobj,'output',I) returns the name of the I-th output signal in variable name. This is equivalent to name=MPCobj.Model.Plant.OutputName{I}. The name property is equal to the contents of the corresponding Name field of MPCobj.OutputVariables.

See Also

setname, mpc, set


 Provide feedback about this page 

Previous page getmpcdata getoutdist Next page

Recommended Products

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.

 © 1984-2009- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS