www.gusucode.com > mbctools 工具箱 matlab 源码程序 > mbctools/@xregtwostagebdrydev/xregtwostagebdrydev.m
function this = xregtwostagebdrydev( varargin ) %XREGTWOSTAGEBDRYDEV Tree node object for two-stage boundary constraints. % % R = XREGBDRYDEV(NAME,...) is a boundary modeling tree node object with % the given NAME. XREGTWOSTAGEBDRYDEV objects are child objects of % XREGBDRYDEV. % % Copyright 2000-2007 The MathWorks, Inc. and Ford Global Technologies, Inc. % XREGTWOSTAGEBDRYDEV % LocalParameters: parameters for the local models % xregbdrydev: parent object % % An xregbdrydev for two-stage boundary constraints. % % Methods: % % localconstraint( bdev, num ) % Returns the boundary constraint for the num-th sweep % % If the first argument is an xregtwostagebdrydev, then return it if nargin >= 1 && isa( varargin{1}, 'xregtwostagebdrydev' ), this = varargin{1}; return end % Create parent object parent = xregbdrydev( varargin{:} ); % Setup object structure this = struct( ... 'Version', 2.0, ... 'LocalParameters', [] ); % Instantiate object this = class( this, 'xregtwostagebdrydev', parent ); % Put object on heap, but only put if there were input arguments if nargin >= 1, this = info( xregpointer( this ) ); end return