Products & Services Solutions Academia Support User Community Company


setname

Purpose

Set I/O signal names in MPC prediction model

Syntax

Description

setname(MPCobj,'input',I,name) changes the name of the I-th input signal to name. This is equivalent to MPCobj.Model.Plant.InputName{I}=name. Note that setname also updates the read-only Name fields of MPCobj.DisturbanceVariables and MPCobj.ManipulatedVariables.

setname(MPCobj,'output',I,name) changes the name of the I-th output signal to name. This is equivalent to MPCobj.Model.Plant.OutputName{I} =name. Note that setname also updates the read-only Name field of MPCobj.OutputVariables.

See Also

getname, mpc, set


 Provide feedback about this page 

Previous page setmpcsignals setoutdist 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