| Model Predictive Control Toolbox | |
| Provide feedback about this page |
Start Model Predictive Controller GUI
Syntax
mpctool mpctool(MPCobj) mpctool(MPCobj, 'objname') mpctool(MPCobj1, MPCobj2, ...) mpctool(MPCobj1, 'objname1', MPCobj2, 'objname2', ...) mpctool('TaskName') [w, h] = mpctool( ... )
Description
mpctool
starts the GUI. For more information about designing and testing model predictive controllers, see Reference for the Design Tool GUI.
mpctool(MPCobj)
starts the GUI and loads MPCobj, which is an existing controller object.
mpctool(MPCobj,'objname')
assigns objname (specified as a string) to the controller you are loading into the GUI. If you do not specify a name, the GUI uses the name of the variable that stores the controller object.
mpctool(MPCobj1, MPCobj2, ...)
loads the specified list of controllers.
mpctool(MPCobj1, 'objname1', MPCobj2, 'objname2', ...)
loads the specified list of controllers and assigns each controller the specified name.
mpctool('TaskName')
starts the GUI and creates a new Model Predictive Control design task with the name specified by the string 'TaskName'.
[w, h] = mpctool( ... )
creates optional handle outputs. w is the explorer.Workspace handle, which points to the GUI window (and possibly other tasks, such as those created by Simulink® Control Design software). h is the mpcnodes.MPCGUI handle, which points to the new Model Predictive Controller design task.
See Also
mpc
| Provide feedback about this page |
![]() | mpcstate | mpcverbosity | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |