Home > mpt > @mptctrl > length.m

length

PURPOSE ^

LENGTH Returns number of regions over which the explicit control law is defined

SYNOPSIS ^

function nR = length(ctrl)

DESCRIPTION ^

LENGTH Returns number of regions over which the explicit control law is defined

   nR = length(ctrl)

 ---------------------------------------------------------------------------
 DESCRIPTION
 ---------------------------------------------------------------------------
 Returns number of regions over which the explicit control law is defined

 NOTE: returns 0 if the control law does not exist or the controller is an
       on-line controller.

 ---------------------------------------------------------------------------
 INPUT
 ---------------------------------------------------------------------------
 ctrl - explicit controller (an MPTCTRL object)

 ---------------------------------------------------------------------------
 OUTPUT                                                                                                    
 ---------------------------------------------------------------------------

 nR   - number of regions. returns an empty vector if the controller is an
        on-line controller.

CROSS-REFERENCE INFORMATION ^

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