Home > mpt > mpt_control.m

mpt_control

PURPOSE ^

MPT_CONTROL Main control routine. Computes explicit controller for a given problem

SYNOPSIS ^

function ctrl=mpt_control(sysStruct,probStruct,ctrltype,Options)

DESCRIPTION ^

MPT_CONTROL Main control routine. Computes explicit controller for a given problem

 ctrl=mpt_control(sysStruct,probStruct)
 ctrl=mpt_control(sysStruct,probStruct, 'on-line')

 ---------------------------------------------------------------------------
 DESCRIPTION
 ---------------------------------------------------------------------------
 Mother of all control functions. Main control routine of the MPT toolbox.
 Based on the problem definition it calls the appropriate multiparametric 
 controller function to compute explicit controller for both LTI
 and PWA systems. This should be the only function the user needs to call. 

 ---------------------------------------------------------------------------
 USAGE
 ---------------------------------------------------------------------------

 To compute an explicit controller, call:
   ctrl = mpt_control(sysStruct, probStruct)

 To compute an on-line controller, call:
   ctrl = mpt_control(sysStruct, probStruct, 'on-line')

 ---------------------------------------------------------------------------
 INPUT
 ---------------------------------------------------------------------------
 sysStruct    - System structure in the sysStruct format
                (see 'help mpt_sysStruct' for more details)
 probStruct   - Problem structure in the probStruct format
                (see 'help mpt_probStruct' for more details)
 Options      - Optional: User options to be passed to individual control functions
 Options.autoTracking
           If set to 0, system and problem matrices are assumed to be
           augmented for tracking purpose by the user. By default,
           matrices will be extended automatically to guarantee tracking.
 Options.noExtreme
           If set to 0 (default), extreme points of each polytope in the
           controller partition will be computed for faster plotting. Set
           it to 1 if you don't want to compute the extreme points.

    See the MPT Manual for additional details on the structure format or 
   consult one of the example systems (e.g. Double_Integator) which were
    provided with this package.                          
                        
 ---------------------------------------------------------------------------
 OUTPUT                                                                                                    
 ---------------------------------------------------------------------------
 ctrl   - Controller object (see 'help mptctrl' for more details)

 see also MPT_OPTCONTROL, MPT_OPTINFCONTROL, MPT_ITERATIVE, MPT_ITERATIVEPWA,
          MPT_OPTCONTOLPWA, MPT_YALMIPCFTOC

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Thu 30-Mar-2006 10:26:47 by m2html © 2003