mpctool

Start Model Predictive Controller GUI

Syntax

mpctool
mpctool(MPCobj)
mpctool(MPCobj,'objname')
mpctool(MPCobj1, MPCobj2, ...)
mpctool(MPCobj1, 'objname1', MPCobj2, 'objname2', ...)
mpctool('TaskName')

Description

mpctool starts the GUI. For more information about designing and testing model predictive controllers, see Working with the Design Tool.

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'.

See Also

Was this topic helpful?