Home > mpt > @mptctrl > set.m

set

PURPOSE ^

SET Set a field of MPTCTRL objects

SYNOPSIS ^

function ctrl = set(varargin)

DESCRIPTION ^

SET Set a field of MPTCTRL objects

 ---------------------------------------------------------------------------
 DESCRIPTION
 ---------------------------------------------------------------------------
 ctrl = set(ctrl,'PropertyName', PropertyValue....) sets properties (fields) of
 the controller 'ctrl'

 USAGE:
   ctrl = set(P,'PropertyName',PropertyValue)
   e.g. ctrl = set(ctrl, 'Pfinal', P)

 List of properties that can be accessed:
   Pfinal, Pn, Fi, Gi, Ai, Bi, Ci, dynamics, details, overlaps, simplified,
   type, sysStruct, probStruct

 WARNING:
   Using set() can be rather dangerous if you don't know what you are doing!

 ---------------------------------------------------------------------------
 INPUT
 ---------------------------------------------------------------------------
 ctrl  - MPTCTRL object
 name  - String giving name of the property
 value - Value of that property

 ---------------------------------------------------------------------------
 OUTPUT                                                                                                    
 ---------------------------------------------------------------------------
 ctrl  - Updated controller object

 see also GET

CROSS-REFERENCE INFORMATION ^

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